You need to use the New Line delimiter, which is \n, but you must place it within double quotes, so try the following: <?php $db = mysql_connect("localhost",$username,$password); mysql_select_db($database,$db); $query2 = "SELECT * FROM postnew ORDER BY id ASC"; $result2 = mysql_q...