jrws Posted March 1, 2009 Share Posted March 1, 2009 Hey there guys, I was wondering, how would I be able to add the id of a news post AS SOON AS its posted? I know how to retrieve the data after it is posted, but how would I be able to link the stuff, IE give the user two links: View the news (link 1) View your posted news (link 2) In link 2 it would look something like: http://example.com/full_news.php?id= Where the id would be the recently posted. I really hope I have made this clear, if not please tell me and hopefully I will be able to explain. Link to comment https://forums.phpfreaks.com/topic/147409-solved-news-system/ Share on other sites More sharing options...
RussellReal Posted March 1, 2009 Share Posted March 1, 2009 mysql_insert_id Link to comment https://forums.phpfreaks.com/topic/147409-solved-news-system/#findComment-773722 Share on other sites More sharing options...
jrws Posted March 1, 2009 Author Share Posted March 1, 2009 Thanks mate, thought it might be that Link to comment https://forums.phpfreaks.com/topic/147409-solved-news-system/#findComment-773725 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.