[Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in]
Hi,
when you are doing programming in php you might be getting a error like
[Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in]
this in your php script.
Most of the times if there is mistake in spelling then many errors occurs.
Just check out following things if you encounter this kind of Warning in your php program
- First check your query.
- If you are using different connection file for creating connection then check whether it is included in your script or not.
- If query is correct then check your Database Connection.