Forum Moderators: coopster
hellooo
.
.
.
.
.
hi
this is displaying in html like this :
hellooo.....hi
not braking line. how i display in html page text as textarea value
my first page code :
-------------------
<form id="form1" name="form1" method="post" action="show.php">
<label>
<textarea name="txt1" id="txt1"></textarea>
</label>
</form>
---------------------
action page code
---------------------
<?php
$value = $_REQUEST['txt1'];
echo $value;
?>
----------------------
Also remember that for security reasons you should not trust user input and so you'd want to validate the data before displaying it.