I'm close, but not quite there. Can you tell me what I'm doing wrong?
$result = mysql_query("select * from recipes_categories");
$numberResults = mysql_numrows($result);
$halfresults = ($numberResults / 2);
$counter = 0;
echo "<table><tr><td>";
while(($catresults = mysql_fetch_array($result)) && ($counter <= $halfresults))
{
echo "<a href=\"linknotsetyet\">".$catresults[category]."</a><br>";
echo "$catresults[description]<br><br>";
$counter++;
if ($counter == $halfresults)
echo "</td><td>";
}
echo "</td></tr></table>";
What's happening is that the first column of results (the first 3 out of 5 items) are displaying, but nothing from the last half. I was a little lost on where to put step 7 and 8 in your suggestion, and some of the above is probably complete gibberish, LOL. I'm such a noob...