List:General Discussion« Previous MessageNext Message »
From:PJ Date:February 27 2009 9:21pm
Subject:whoa!
View as plain text  
What is this supposed to mean from the manual:
The use of |mysql_num_rows()|
<http://dev.mysql.com/doc/refman/5.0/en/mysql-num-rows.html> depends on
whether you use |mysql_store_result()|
<http://dev.mysql.com/doc/refman/5.0/en/mysql-store-result.html> or
|mysql_use_result()|
<http://dev.mysql.com/doc/refman/5.0/en/mysql-use-result.html> to return
the result set....
|mysql_num_rows()|
<http://dev.mysql.com/doc/refman/5.0/en/mysql-num-rows.html> is intended
for use with statements that return a result set, such as |SELECT|
<http://dev.mysql.com/doc/refman/5.0/en/select.html>.
Does this mean you have to use
mysql_store_result() before using mysql_num_rows() ?.... kind of doesn't
make sense to have to do that. And there are no clear cut examples or
explanations...
I do not wish to piss-and-moan but I do find that there is a lot to be
desired in the manual; things that are very ;contradictory and/ or
unclear and certainly lacking in examples.

And please, somebody guide me to some tutorial or something where I can
learn to set up proper error checking so you guys don't have to listen
to my problems. :'(
-- 

Phil Jourdan --- pj@stripped
http://www.ptahhotep.com
http://www.chiccantine.com
Thread
whoa!PJ27 Feb
  • Re: whoa!Andy Shellam28 Feb
Re: whoa!Andy Shellam1 Mar