MutatedVirus Posted September 6, 2013 Share Posted September 6, 2013 How would I go about making it so when an A anchor is clicked to lead to a new page, it will display only one article dependent on the ID?Likeindex.php Shows a few descriptions of news news.php shows the lot with but description news.php?id=2 shows full cent of news article with the ID 2 Thanks for any help in advanced Link to comment https://forums.phpfreaks.com/topic/281921-url-parameters/ Share on other sites More sharing options...
cyberRobot Posted September 6, 2013 Share Posted September 6, 2013 Have you used $_GET variables before? http://php.net/manual/en/reserved.variables.get.php If the GET variable is found, you would display the corresponding article. Otherwise, you would display the list of articles. Link to comment https://forums.phpfreaks.com/topic/281921-url-parameters/#findComment-1448448 Share on other sites More sharing options...
MutatedVirus Posted September 6, 2013 Author Share Posted September 6, 2013 I havent, No, thanks Link to comment https://forums.phpfreaks.com/topic/281921-url-parameters/#findComment-1448450 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.