darkfire1515 Posted August 20, 2007 Share Posted August 20, 2007 hello, I am an expierenced web programmer but new to php and I was wondering what the numbers are after .php and how to use them eg. www.example.com/index.php?23342 or www.example.com/index.php?t=23433 Thank you Quote Link to comment https://forums.phpfreaks.com/topic/65760-numbers-after-php-url/ Share on other sites More sharing options...
js_280 Posted August 20, 2007 Share Posted August 20, 2007 It's a list of variables passed using the "GET" method... Check out this wikipedia link http://en.wikipedia.org/wiki/Query_string Quote Link to comment https://forums.phpfreaks.com/topic/65760-numbers-after-php-url/#findComment-328519 Share on other sites More sharing options...
dbo Posted August 20, 2007 Share Posted August 20, 2007 I don't want to come across as rude but the query string isn't anything that is specific to PHP. Quote Link to comment https://forums.phpfreaks.com/topic/65760-numbers-after-php-url/#findComment-328522 Share on other sites More sharing options...
MadTechie Posted August 20, 2007 Share Posted August 20, 2007 to use www.example.com/index.php?t=23433&e=1122test echo $_GET['t'];//returns 23433 echo $_GET['e'];//returns 1122test of course it doesn't have to be echo! Quote Link to comment https://forums.phpfreaks.com/topic/65760-numbers-after-php-url/#findComment-328525 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.