I understand that redirection can be achived using the header() function?
do variables get sent to the header target page like with a post/get form submit?
Thanks
Session Variables
unless of course its something like
header("Location: yourpage.php?foo=".$bar."");
So i take that as a no...
is there a better way of passing variables?
thanks
http://us3.php.net/manual/en/function.header.php
Simple question.. is there a better way of passing the variables apart from a form?
you'll have to define "better"
The query string, as seanmayhew noted, is a commonly used method. You can simply access from the $_GET array
You can also use sessions to pass variables