<?php
$category=mysql_query("SELECT * FROM categories ORDER BY catid ASC") or
die(mysql_error());
while($get_cat=mysql_fetch_row($category))
$board=mysql_query("SELECT * FROM boards WHERE hidden='No' AND
catid='.$get_cat[0].' ORDER BY boardid ASC") or die(mysql_error());
while($board=mysql_fetch_row($board))
echo '</table><table border="0" width="100%" align="center"><tr
class="cell2"><td><b><i>'.$get_cat[1].'</i></b></td></tr></table><table
border="0" align="center" width="100%"><tr ',shading(),'><td><a
href="/php/topics.php?board='.$get_board[0].'">'.$get_board[1].'</a><br
/><small>'.$get_board[2].'</small></td><td>'.$get_board[3].'</td><td>'.$get_board[4].'</td><td>'.$get_board[5].'</td></tr></table>';
?>
That is in my index file. This is my index: http://subzer0.net/php
There are 2 categories in the db and 4 boards. I don't know why they aren't
showing! >_<
Please help!
~Mike