On 30 Apr 2002 at 11:56, Jas wrote: > I need a tutorial or example on how to take a result from an mysql > query and place it into a session variable. Please help? Thanks in > advance, Jas
This is what I use... while ($res = mysql_fetch_assoc($query)) { $retval[] = $res; } $retval is then an array of record arrays that can be stored in the session. -- Stuart -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php