Hi,
I am trying to try echo an article column on a page called article.php based on the ID of an item which is inserted into a link from the previous page. However, I am struggling to show the article. I can only echo the ID.
Previous page:
<a href="article.php?ID=<?php echo $row['ID']; ?>"><?php echo $row['title']; ?></a>
Article Page:
- This works as it shows the IDCode:<?php echo $_GET['ID'];?>
- This does not work as it does not show the article.Code:<?php echo $_GET['article'];?>



Reply With Quote


Bookmarks