Author Topic: help Warning: mysql_num_rows(): supplied argument is not a valid MySQL result re  (Read 182 times)

0 Members and 1 Guest are viewing this topic.

Offline shamsuljewelTopic starter

  • Enthusiast
    • View Profile
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?

Offline jesirose

  • Fanatic
  • Gender: Female
    • View Profile
First of all - Post your code.
Secondly, this error usually means there was a problem with your SQL. Do your code like this:
Code: [Select]
<?php
$sql 
"SQL HERE";
$result mysql_query($sql) or die(mysql_error().' SQL: '.$sql);
?>
Before posting, read the guidelines. When you do post a topic, post your code. In code tags.
Before you ask me how to do something I suggest, Google it.
Before asking what a function does, check the manual: http://php.net

PHP Freaks Forums

« on: »

Tired of these ads? Purchase a supporter subscription to get rid of them.