Imothep Posted July 21, 2006 Share Posted July 21, 2006 Hello folks, i know now how to make a news script for posting news and displaying them using mysql, But i dont know how to make that news into a link so that people can see the whole news. example: use the topic as a link then press the link so the news shows up. I have an idea that the ID columms in the database have something to do with this. Does anyone have a link to a tutorial or an example of this? Thank you very much Fredrik ChristensenIp Generation Ltd Link to comment https://forums.phpfreaks.com/topic/15252-make-a-news-into-a-link-with-id/ Share on other sites More sharing options...
wildteen88 Posted July 21, 2006 Share Posted July 21, 2006 DO something like this when you are getting the news[code]echo '<a href="news-page.php?id=' . $newsID . '">' . $newsTITLE . '</a>';// rest of PHP code here.[/code] Link to comment https://forums.phpfreaks.com/topic/15252-make-a-news-into-a-link-with-id/#findComment-61655 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.