Re: [PHP] Explain recordset

2001-04-14 Thread Plutarck
$result holds a "resource id". When you do anything like mysql_fetch_row it sends a request to the database. All results, until you "fetch" them, are kept in MySQL. If you want to store the results away from the DB you will need to do something like: while ($array[] = mysql_fetch_row($result));

[PHP] Explain recordset

2001-04-14 Thread Mike P
I'm trying to figure out the way recordsets are handled with php and mysql.After I issue a query to the Db with $result = mysql_query ($query) is the recordset contained in $result or is this just a pointer.I want a persistant recordset on the client computer that can be manipulated without go