I need to print to the screen all the sesion var. in the URL
Try the print_r() function. e.g.
echo '<pre>'.print_r($_GET).'</pre>';
hth, njm
Originally posted by njm Try the print_r() function. e.g. echo '<pre>'.print_r($_GET).'</pre>'; hth, njm [/B]
Originally posted by njm Try the print_r() function. e.g.
hth, njm [/B]
thanks, What I am really after is a for loop to get all vars one at a time.
OK,
For PHP4+, how about the foreach construct?