Possible Duplicate:
PHP: trying to create a new line with “ ”
line break help in PHP
Hello I have been trying to echo to a new line in PHP using the thing and it just isn't working, I have tried separating it just in case PHP got confused or something and it still isn't working, HELP!!
This is my code, you shouldn't need to know it all:
Take "id" to be 1, "sender" to be "test" and "message" to be "test"
echo($rows."
");
while($rowarray = mysql_fetch_array($result)){
echo($rowarray["id"].") From: ".$rowarray["sender"]." - ".$rowarray["message"]."
");
}
I want it to print out like this:
1 (or how many rows there are)
1) From: test - test
I have no idea what I am doing wrong. I would really appreciate help