Posted on Tuesday 21st August 2007 at 04:49 PM
Code
while ($cat = mysql_fetch_array(mysql_query("SELECT * FROM `shop_cat`"))) {
echo "<a href='?page=view&id=$cat[id]'>$cat[name]</a>";
}
echo "<a href='?page=view&id=$cat[id]'>$cat[name]</a>";
}
This, should display the categories names. But... it does not. It just shows a big list of nothing! What did I do wrong?