Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- how to put diffentent sentence into differnt rows in TextArea


xbl01234 - 5:58 am on Dec 20, 2006 (gmt 0)


>Couldn't you just use the new line \n?
><form>
><TEXTAREA cols="50" rows="10" wrap=off>

><?
>while($row = mysql_fetch_array($result))
>echo $row['Topic'];
>echo "\n";
>?>

></TEXTAREA>
></form>

Thanks Rover, i put the new line and the topic in a same line, then it does the work. like the following;

echo $row['Topic'] . "\n";


Thread source:: http://www.webmasterworld.com/php/3194169.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com