Rabu, 05 Agustus 2009

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in

[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

  1. First check your query.
  2. If you are using different connection file for creating connection then check whether it is included in your script or not.
  3. If query is correct then check your Database Connection.

Tidak ada komentar:

Posting Komentar