chordsoflife Posted November 5, 2008 Share Posted November 5, 2008 I'm working on a site where the main page shows the last three posts the admin made. If I have each post in the database with the primary, auto incrementing key being update_id, why can't I append ?update_id=10 to the url and have it dynamically show me that post? What else needs to happen? Link to comment https://forums.phpfreaks.com/topic/131556-id/ Share on other sites More sharing options...
corbin Posted November 5, 2008 Share Posted November 5, 2008 Uh, your script needs to be coded to use that variable. Things actually aren't magic. Weird, right? Link to comment https://forums.phpfreaks.com/topic/131556-id/#findComment-683272 Share on other sites More sharing options...
chordsoflife Posted November 5, 2008 Author Share Posted November 5, 2008 I figured, but what else is needed for that? basically, I just want to be able to type in a number myself and see that post... that's it. No added functionality to the site itself. Link to comment https://forums.phpfreaks.com/topic/131556-id/#findComment-683274 Share on other sites More sharing options...
corbin Posted November 5, 2008 Share Posted November 5, 2008 http://www.tizag.com/phpT/postget.php http://www.tizag.com/mysqlTutorial/mysqlwhere.php Link to comment https://forums.phpfreaks.com/topic/131556-id/#findComment-683276 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.