I've seen MANY posts relating to this topic, seems very simply to resolve, however the resolution is not working in my case.
I have data in a table, retrieving into a textarea and want each record to be a on new line... thus nl2br
However all my data is run together!!!
What's the deal? What am I missing...?
<form name="form1" method="post" action="">
<p>Shoes<br>
<TEXTAREA NAME="shoes" ROWS=10 COLS=30>
<?php
for ($i=0; $i<$WOCount; $i++)
{
$pworkout_type = mysql_fetch_array($sql_result);
$wo = ($pworkout_type['workout_type']);
echo nl2br($wo);
}
?>
</TEXTAREA>
Thanks!!