Hi guys,
I’m aware of the theory behind nl2br, but I can’t seem to get it working within this while loop.
<?php
include(“connect.php”);
$showrecord = “Select * from news”;
$recordC = mysql_query($showrecord,$connect);
while ($row = mysql_fetch_array($recordC, MYSQL_NUM))
{
printf("<p>%s<p>", $row[1]);
echo ‘<a href="news_edit.php?id=’.$row[0].’">Edit</a>’;
}
mysql_free_result($recordC);
mysql_close($connect);
?>
Any ideas?