Without having to modify TEST1.HTM, can anyone think of a way in TEST1.PHP to capture the four lines in a string array that would be accessible by line number and which would preserve line breaks and blank lines?
Clive
Code:
TEST1.HTM
<html><body>
<form name="mail" method="post" enctype="multipart/form-data"
action="test1.php">
Message:<br />
<textarea name="t" rows="6" cols="36">
line-1
line-2
line-4
</textarea><br />
<input value="Send" type="submit" />
</form></body></html>
Code:
<?php
$line=array();
$text=$_POST['t'];
?>
Clive