mysql_num_rows allways returns 0

wxdqz

New Member
Hi All:
I am a newbie to Mysql,I used a "select * " query to retrieve information from my mysql database,and use the function Mysql_num_rows($rs) to get the number of rows of result.but the function allway return 0.what is the reason ? is that it need some configuration in php.ini ?.
By the way,I used Mysql_result($rs,$rownum,"$filedname") to retrieve a cell data.but the system say it can not jump to the row .
Did anyone has similar problem?
I will greatly appreciate if some one can give me a clue.

Thanx.
Barry Lee.
Lijiang,China.
 
Back
Top