RecordSet / RecordSource

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
jcmahal
Forum Newbie
Posts: 2
Joined: Thu May 08, 2003 4:42 am
Location: California
Contact:

RecordSet / RecordSource

Post 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.
tr3s
Forum Newbie
Posts: 17
Joined: Mon May 19, 2003 10:29 am
Location: Philippines
Contact:

Post 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...
Post Reply