Page 1 of 1

RecordSet / RecordSource

Posted: Wed May 21, 2003 2:54 am
by jcmahal
Hi, I'm new to PHP but more familiar with ASP.

Quick Questions:

Do all Query results return to an array??

Is there any other method to return query results to another variable (not an array) so i can use .EOF or .BOF objects??

Finally, If no such object works how would I declare a conditional IF statement saying if end of file and beginig of file??

Thanks for the help.

Posted: Wed May 21, 2003 3:12 am
by tr3s
as far as i know, all query results are stored on an array that contains all the data of the record.

anyway, i usually use mysql_num_rows or odbc_num_rows, etc. to check whether a record is first or last. check the manual for further reference...

hope this would help!

good luck...