Page 1 of 1

Passing variables in the URL with php

Posted: Thu Aug 04, 2005 7:08 am
by Magicman0022
I need to pass variables across from page to page.

I am considering passing them via the URL. WHat is the code that I need to do this and retrieve it at the end.

I am a total novice at php so any help would be appreciated.

Thanks

Posted: Thu Aug 04, 2005 7:09 am
by timvw
Just search this forum, we've discusses the methods to pass data across pages many times before:

http://www.php.net/variables (the section on predefined variables)
$_GET
$_POST
$_SESSION
$_COOKIE