Last night I wrote a HTML document containing a <form> which asks for name
(input), email adress(input) and the message(textarea). These values are
sended to "preview.php". At the moment this script only shows the
informations formerly entered. The problem is that when I echo the $message
variable there are no returns reported. How can I do this? Thanx in advance.

The form:

 <title>PHP Testsite</title>

 <form action="preview.php" method="post">

  Name: <input name="name"><br>

  eMail:&nbsp; <input name="email"><br><br>

  <textarea name="message" rows=4 cols=40></textarea><br><br>

  <input type="submit" value="Eintragen">



The preview script:


 <script language="php">

  echo "Name: $name<br>";
  echo "eMail: $email<br>";
  echo "$message";  /* This only shows a singe line, also when returns are
entered /*



PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to