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? 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); ?> 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
Archived
This topic is now archived and is closed to further replies.