Passing variables in the URL with php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Magicman0022
Forum Newbie
Posts: 11
Joined: Thu Jul 28, 2005 8:38 am

Passing variables in the URL with php

Post 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
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post 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
Post Reply