[PHP] Re: array variable passing in session.

2002-02-07 Thread Joe Van Meer
Hi Peter, are you limited to using arrays? If not, try msql_fetch_row() since you are only looking for the one record, ie: the corresponding username and password record for the username and password that was passed. Hope this helps, Joe :) ?php session_start(); include(config.php);

[PHP] Re: array variable passing in session.

2002-02-07 Thread Peter Ruan
Hi Joe, The record has other information as well, names, phone, and etc. I like to store everything in an array and reference to it later. That way I don't have to do another mysql_xxx() later for the subsequent pages...that should save sometime, right? The problem has gone away once I