shamsuljewel Posted September 5, 2007 Share Posted September 5, 2007 I got this problem Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/html/infobangla/normal_user_reg.php on line 19 what is the problem? Quote Link to comment Share on other sites More sharing options...
Jessica Posted September 5, 2007 Share Posted September 5, 2007 First of all - Post your code. Secondly, this error usually means there was a problem with your SQL. Do your code like this: <?php $sql = "SQL HERE"; $result = mysql_query($sql) or die(mysql_error().' SQL: '.$sql); ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.