plodos Posted June 22, 2008 Share Posted June 22, 2008 How can I do that link... paged=2 & s=xxxx I need to make this, than I will control with switch but what is the name of this ...... how will I search on the google for learn...or if you have sample code, could you share it... like : www.2checkout.com/community/?paged=2&s=xxxxxx Link to comment https://forums.phpfreaks.com/topic/111378-how-to-make-php-link/ Share on other sites More sharing options...
.josh Posted June 22, 2008 Share Posted June 22, 2008 google "php GET method" Link to comment https://forums.phpfreaks.com/topic/111378-how-to-make-php-link/#findComment-571728 Share on other sites More sharing options...
marklarah Posted June 22, 2008 Share Posted June 22, 2008 In a nutshell. Say the url is www.example.com/page.php?foobar=himum&foofoo=waltersdog <? // Too get the contents of foobar ("himum"): echo $_GET['foobar']; // would output himum //and to echo foofoo, echo $_GET['foofoo']; ?> You get the idea. It is mainly used to store a unique identifier on a table too lookup against, rather than store for example a username in a login process. Link to comment https://forums.phpfreaks.com/topic/111378-how-to-make-php-link/#findComment-571770 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.