$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));

That will store all the results into $array...hopefully.


--
Plutarck
Should be working on something...
...but forgot what it was.



"Mike P" <[EMAIL PROTECTED]> wrote in message
9b9lvb$u57$[EMAIL PROTECTED]">news:9b9lvb$u57$[EMAIL PROTECTED]...
> 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
> going to the server.Is this possable.fetchrow seems to go to the server
> each time or am i wrong?
> Thanks
> Mike P
> [EMAIL PROTECTED]
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to