triumph
69.***.***.***Getting URL Variables
One thing I have been working with a lot lately is parsing URL variables.Quick and easy:
Code:
$string1 = $_GET['Variable'];
Replace variable with whatever url variable you want to fetch and put into a string.
For example if your url was:
Code:
http://www.myurl.com/index.html?option=123
then you would use:
Code:
$option = $_GET['option'];
And whatever you put in the url for option would be in the $option variable.