Quote:
$draw_rows = "SELECT * FROM $dbtable WHERE $theme, $color LIMIT $start,$number_pp";
$result = mysql_query($draw_rows);
while($row = mysql_fetch_array($result)) //line 51
{
echo "stuff";
}
|
Do me a fav, execute a print
$draw_rows after you've set it so one can see what the end SQL statement looks like that way one can see if a variable has no value or what exactly is wrong, cause we do not know the values of
$dbTable,
$theme and
$color ...