Re: Session variables

From: Date: Tue, 08 Apr 2003 15:01:36 +0000
Subject: Re: Session variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-142877@lists.php.net to get a copy of this message
--- Burhan Khalid <phplist@meidomus.com> wrote: > while (list($key,$val) = each($_SESSION)) { > > echo "Key : ".$key." Value : ".$val."<br />"; > } > > That should do it Or just use print_r(): <pre> <? print_r($_SESSION); ?> </pre> Chris ===== Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/

« previous php.general (#142877) next »