# Timestamp 0000000000 blog entry form problem

**URL:** <https://forum.kirupa.com/t/timestamp-0000000000-blog-entry-form-problem/225223>\
**Category:** Uncategorized\
**Created:** [May 9, 2007, 7:45pm UTC](https://forum.kirupa.com/t/timestamp-0000000000-blog-entry-form-problem/225223 "2007-05-09T19:45:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![foevah](https://avatars.discourse-cdn.com/v4/letter/f/8baadc/32.png) [@foevah](https://forum.kirupa.com/u/foevah)\
**Post date:** [May 9, 2007, 7:45pm UTC](https://forum.kirupa.com/t/timestamp-0000000000-blog-entry-form-problem/225223/1 "2007-05-09T19:45:41Z")

</div>

When I submit a new blog entry using a php form I can view all the entires on the index page apart from the timestamp!?!?

When I view the new entry in the php\_blog table the timestamp is 00000000000 👁

I do have an update form that lets me edit an entries date successfully. This is a pain however because I want the timestamp to be entered into the database with the new entry.

This is the PHPSource for my new blog entry form:  
[http://www.webdesignhull.lincoln.ac.uk/jecgardner/blog\_test2/entry/upload.phps](http://www.webdesignhull.lincoln.ac.uk/jecgardner/blog_test2/entry/upload.phps)

This is the PHPS that lets me edit/update an entries date:  
[http://www.webdesignhull.lincoln.ac.uk/jecgardner/blog\_test2/entry/update.phps](http://www.webdesignhull.lincoln.ac.uk/jecgardner/blog_test2/entry/update.phps)

What I need to do is use some of the update code and apply it to the upload code… I am having trouble doing this. I have tried various code combinations but I havent been successful.

Please can someone tell me what is wrong with the upload form and how to fix it!
