PDA

View Full Version : mysql_num_rows()


Xavior
24-04-2003, 03:25
argh...
this is supose to work...
but...
Fatal error: Call to undefined function: _mysql_num_rows() in
i am gettin this...
help!!!!!!!!!!!!

choon
24-04-2003, 06:51
Hi Xavior,

From the error posted by you, I will assume you are using php.

Check your script whether did you have any typo such as _mysql_num_rows() and replace with mysql_num_rows(). This is what I can guess about by reading your partial error message.

Hope this helps :)

Kindest regards,
Choon

Xavior
24-04-2003, 07:26
yes it's php, sorry for not making that clear :D
nbm.. i kinda solved this error..
but still i dont know why it gave me that error...

it's not an typo mistake.
in my coding, viewed with my notepad
it is mysql_num_rows(blah blah blah);
but when i tried to output, it gave me that error..
and i just copied and pasted it..

biggulp
24-04-2003, 16:55
highly unlikely.

alien
24-04-2003, 17:30
It helps if you can post your code here.. ?

mysql_num_rows(result_Id)
or mysql_numrows(result_Id), but is deprecated

Are you using mysql_unbuffered_query to send SQL query?

Xavior
24-04-2003, 19:58
alien:
nope, i usd mysql_query
i didnt try using mysql_numrows(result_id) thou...
anyways.. the script is working fine now, without any editing...
not sure why.. maybe is my caching? *shrugs*