So what is the diffirent between : ////////// session_start (); $_SESSION['eventid'] = 'arma2'; /////////// and ///////////// session_start (); session_register('arama2'); ///////////
Regards Nabil "Thomas Seifert" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > yeah its the right way. > though I don't know what you'r trying to do with > echo "<P> $_SESSION"; > > > Thomas > On Sat, 21 Jun 2003 09:22:39 -0500 [EMAIL PROTECTED] (Jay Fitzgerald) wrote: > > > is this the correct way to register variables via a session? > > > > [code] > > session_start (); > > $_SESSION['eventid'] = 'arma2'; > > > > print_r ($_SESSION); > > echo "<P> $_SESSION"; > > [/code] > > > > > > [result] > > Array ( [eventid] => arma2 ) > > > > Array > > [/result] > > > > I apologize for the numerous questions, but I am trying to learn...If > > anyone would like to help off-list, my ICQ is 38823829 > > > > Jay > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php