Jump to content

php blog and database


pdpullmn612

Recommended Posts

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

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.

Archived

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

×
×
  • Create New...

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.