Home › Forums › Back End › what’s the difference between those links › Re: what’s the difference between those links
May 30, 2011 at 6:33 am
#74985
jamygolden
Member
You can store variables within the URL. for example:
http://mydomain.com/?name=Jamy&favfood=Pankcakes
That would load mydomain.com with the variables of name = Jamy and favfood = Pancakes.
You could fill out a form, click submit and the next page could be loaded with info you typed stored in the URL. It could then greet you. “Hi Jamy”, etc.
This is done via PHP’s $_GET. Have a look at this: http://php.net/manual/en/reserved.variables.get.php