Number of records returned

2004-01-15 Thread Alejandro D. Burne
I'm testing store procedures, and I want to know the number of records returned from a query. There is a function or variable to get it through odbc? I'll be trying with mysql_num_results() but makes me en error(seems to be made for c api) selectfield1 from table where field2=1; select

Re: Number of records returned

2004-01-15 Thread Cory Hicks
How about from the php api, or something similar: mysql_num_rows() Cory On Thu, 2004-01-15 at 10:43, Alejandro D. Burne wrote: I'm testing store procedures, and I want to know the number of records returned from a query. There is a function or variable to get it through odbc? I'll