Jump to content


This topic is now archived and is closed to further replies.


Make a news into a link with id

Recommended Posts

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 Christensen
Ip Generation Ltd

Share this post

Link to post
Share on other sites
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]

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.