Hello,
wrong list, try asking on [EMAIL PROTECTED] This list is for
developing PHP itself, not for developing with PHP.
Derick
On Sat, 28 Apr 2001, Marian Seitner wrote:
> Hello!
>
> 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:
>
> <html>
> <title>PHP Testsite</title>
> <body>
>
> <form action="preview.php" method="post">
>
> Name: <input name="name"><br>
>
> eMail: <input name="email"><br><br>
>
> <textarea name="message" rows=4 cols=40></textarea><br><br>
>
> <input type="submit" value="Eintragen">
>
> </FORM>
>
> </body>
> </html>
>
> The preview script:
>
> <html>
> <body>
>
> <script language="php">
>
> echo "Name: $name<br>";
> echo "eMail: $email<br>";
> echo "$message"; /* This only shows a singe line, also when returns are
> entered /*
>
> </script>
>
> </body>
> </html>
>
>
>
> --
> 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]
>
Derick Rethans
---------------------------------------------------------------------
PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED]
SRM: Site Resource Manager - www.vl-srm.net
---------------------------------------------------------------------
--
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]