if(mysql_num_rows($sql)) // we got some results
{
while($row = mysql_fetch_array($sql))
{
//the output//
printf("<tr><td width=\"30%\">%s" . "</td><td width=\"25%\">Posted: %s" . "</td><td width=\"45%\">Subject: %s" . "</td></tr>" , $row["2"], $row["3"], $row["4"] );
}
}
?>
Code errors out saying there are to few arguments.