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. Quote 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 Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/147409-solved-news-system/#findComment-773725 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.