All pastes #420763 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-04-02 11:38 UTC
rendered paste body
<html>
<body>
<?php
                  $hello = $_POST[hello];
                  if ($hello == ""){
                  $message = "Type a message.";
                  } else {
                  $message = "You said:";
                  
      }
echo $message;
echo "<br>";
echo $hello;
$echo "<br>";
?>
      <form method="POST" action="<?php $_SERVER[PHP_SELF]; ?>">
<?php
                echo "<br>";
?>
      <table border="2">
      <tr><td>Message: </td><td><textarea name="hello" cols="50" rows="5">
</textarea></td></tr>
      <tr><td><input type="submit" name="submit" value="Post"></td></tr>
</form>      
</table>
</body>
</html>