$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));
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
2 matches
Mail list logo