Menu
[url]http://accessjdm.com
[code=php]$sql2 = mysql_query(“SELECT id FROM $row[lower]”);
$count = 0;
while($row2 = mysql_fetch_array($sql2))
{$count++;}
echo “$count)</li>n”;
$total += $count;
all of the others work, but when $row[lower]=”ms-dos”, i get this error:
mysql_fetch_array(): supplied argument is not a valid MySQL result resource
i even changed it to this after refreshing my memory on php functions:
[code=php]echo mysql_num_rows(mysql_query(“SELECT id FROM $row[lower]”)).”)n”;
why is that? is the ‘-‘ screwing things up?