Ligaya Turmelle wrote:
if they are all coming from the same query can't you assign them using the fetch_assoc?
Sure!
Ex: $data = mysql_fetch_assoc($result); $_SESSION['column1'] = $data['column1']; $_SESSION['column2'] = $data['column2']; $_SESSION['column3'] = $data['column3']; ...
Or am I confused :)
Nope, just another way to do it! Now if you really want to have some fun, why not try it both ways (or a few other ways not already mentioned) and benchmark the results to see what works best :)
Respectfully, Ligaya Turmelle
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php