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 Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
MutatedVirus Posted September 6, 2013 Author Share Posted September 6, 2013 I havent, No, thanks Quote Link to comment 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.