I'm using a Textarea element to allow users to update their "status".
All works fine but new lines disapear when I retrieve the text from the SQL? It SAVES them ok, and I can see them in PhpMyAdmin, but when I run this code after retrieving all the updates:
while($row = mysql_fetch_array($StatusResult))
{
echo $row['Text'];
if (GetLoggedOnId() == $_GET["UId"])
{
echo "<form>
<input type=\"submit\" value=\"X\" name=\"REMOVE\"/>
</form>";
}
echo "<br/>";
}
it seems to just "forget" where linebreaks were.