i have two different scripts that make two different database calls, both scripts are included into the same page..
one script query:
$result = $db->sql("SELECT * FROM $user WHERE nick = '$user' AND password = '$pass'");
while($row = mysql_fetch_row($result)) {
second query:
$result2 = @mysql_query("SELECT * FROM userfield WHERE userid = '$bbuserinfo[userid]'", $db2);
while ($info = mysql_fetch_row($result2)) {
and it gives me this error:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/public_html/comments.php on line 59
are they some how conflicting with eachother?, how do I fix it?