i am fetching data from a table
using
mysql_fetch_aaray
the data is displaying correctly
now i want that if data is not exist
it will print no data found
i tried with the following code
ghgf
am getting error in mysql_num_rows
it shows
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resourc
From your question I found that in
ifcondition you have not passed resource name properlyThis will seems to solve your warning(error)