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 https://forums.phpfreaks.com/topic/68021-help-warning-mysql_num_rows-supplied-argument-is-not-a-valid-mysql-result-re/ 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 https://forums.phpfreaks.com/topic/68021-help-warning-mysql_num_rows-supplied-argument-is-not-a-valid-mysql-result-re/#findComment-341943 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.