Aight everyone - I'm getting a 'Warning: 0 is not a MySQL result index error on the line of my code withthe while() statement. There is no reason for this error. There is information in the database. Does anyone see a problem with this code?
Thanks in advance for any help you might provide.
-=Lazzerous=-
<?php
mysql_connect("localhost", user, pass);
mysql_select_db('db');
$select = "select * from bb where forum like '$forum' and where category like '$category'";
$paco = mysql_query($select);
while ($myrow=mysql_fetch_array($paco)){
echo data from table
}
?>