Jump to content


Photo

Date field


  • Please log in to reply
2 replies to this topic

#1 turbocueca

turbocueca
  • Members
  • PipPipPip
  • Advanced Member
  • 62 posts

Posted 25 March 2006 - 07:45 PM

How to create a field that takes the date of the insertion of a record in MySQL? Or something that gives the possiblity to know when was a record added to the DB.

#2 AV1611

AV1611
  • Members
  • PipPipPip
  • Advanced Member
  • 997 posts

Posted 25 March 2006 - 07:57 PM

Option A:

You include a date/time in your form

Option B:

You create a timestamp field in MySQL

#3 turbocueca

turbocueca
  • Members
  • PipPipPip
  • Advanced Member
  • 62 posts

Posted 25 March 2006 - 08:40 PM

my phpmyadmin doesn't want to add fields, what's the sql code to add them?

no problem, i did it




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users