Hi,
I'm using a regular HTML form and a textarea. The form send a variable, $mytext to php script, where I just want to print it on the screen.
My problems are that if I have a line break, lets say after "Hi,"
the text shown later will only be that "Hi", while the text after that is not shown.
Anybody knows why. Here is part of my code:
HTML:
<form name="annonserasteg3" method="get" enctype="multipart/form-data" action="annonskon3.php">
<textarea wrap="virtual" name="mytext" cols="35" rows="6">
</textarea>
PHP:
$annonstext=nl2br(wordwrap($mytext));
print("$mytext");
/Martin