matty84 Posted November 18, 2006 Share Posted November 18, 2006 I am aware of PHP_SELF - I was wondering if there was a way to reuse the information from a GET command...for example if you want a link on your page that repeats the current url (e.g....http://.../info.php?name=matt -unlikely I know but if you wanted this how would it be done? Link to comment https://forums.phpfreaks.com/topic/27674-php_self/ Share on other sites More sharing options...
heckenschutze Posted November 18, 2006 Share Posted November 18, 2006 Have a look at: http://php.net/manual/en/reserved.variables.phpThe array index you're after from $_SERVER is: QUERY_STRINGeg,[code]<?phpecho $_SERVER["QUERY_STRING"];?>[/code] Link to comment https://forums.phpfreaks.com/topic/27674-php_self/#findComment-126581 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.