I am writing a blog for a website using a MSQL database. I know how to enter the text into the database and then show this on the website, but how can i get it to automatically enter the date the message was written, enter that into the database and then output that to the website.

I know how to show the current date, but that is pointless as i want my website to look like normal blogs, where it has the blogs post date recorded.

I could simply have another input field in which i can manually enter the date into the database but this is a little silly when the process can be automated.

I know i could use something like Blogger as a blogging tool, but i want to write my own so i have full controll over it, and so it can be intergrated into another website.

Thanks for any suggestions
Lucy
Marshton: do you mean the type of field is of date type or the field is to be called date? or both?!

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Tagged with:

Filed under: Automated Blog

Like this post? Subscribe to my RSS feed and get loads more!