Any help would be much a predated.
BTW even thought I'm only a beginner in this, I would like to say that php
is brilliant :)
--
Best Regards
Dark Angel
--------------------------------------------------------------------------
http://www.stateofmind.me.uk - My Home Page
http://www.keir.net/k9.html - Free spam filter for windows
http://www.shrine2aeris.co.uk - My shrine to Aeris from FF7
When you do an
"alter table phpBlog change timestamp timestamp timestamp(14)"
Dates and times are automatically stored in YYYYMMDDHHMMSS format.
The sql query would then be:
$sql = "INSERT INTO phpBlog (`name`, `comment`) VALUES
('{$_POST['name']}', '{$_POST['comment']}')";
BTW, when the id field has auto_increment enabled, you don't have to specify
it in the query.
See http://www.mysql.com/doc/en/DATETIME.html for more info.
JW