pdpullmn612 Posted July 15, 2009 Share Posted July 15, 2009 hey guys, I'm looking to create a simple blog from scratch. I just need a little help to begin with. My ultimate question would be: what would be the best way to set up my database, in terms of tables and such. I have a basic idea, but once I get the database and relational model all squared away I will be able to start my coding which I'm pretty sure I can do. Any help would be great. Thanks, Dave Link to comment https://forums.phpfreaks.com/topic/166088-php-blog-and-database/ Share on other sites More sharing options...
jamesxg1 Posted July 15, 2009 Share Posted July 15, 2009 Database's hmmmm.. . . well you would have to start with stuff like, members = id, username, password, last login, registered. posts = id, sender, time, message, BLOG ID. then when you go EG. blog.php?id={id}, if the $_GET match's the BLOG ID in the database it will display the post. James. Link to comment https://forums.phpfreaks.com/topic/166088-php-blog-and-database/#findComment-875906 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.