[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.
Just check out following things if you encounter this kind of Warning in your php program
- First check your query.
- If query is correct then check your Database Connection.
- If you are using different connection file for creating connection then check whether it is included in your script or not.
Comments
Post a Comment