Re: Session variables

From: Date: Tue, 08 Apr 2003 15:58:53 +0000
Subject: Re: Session variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-142891@lists.php.net to get a copy of this message
Better: echo "<pre>"; print_r($_SESSION); echo "</pre>"; ciao ciao the fasta Chris Shiflett wrote:
--- 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 (#142891) next »