Auto date

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
User avatar
wmdrumaizi
New php-forum User
New php-forum User
Posts: 40
Joined: Thu Jan 23, 2003 5:15 pm
Location: Malaysia
Contact:

Sun Mar 30, 2003 8:48 pm

8O
Hi everybody, could anyone tell me how to insert current date automatically into the database from a registration form.
Thanks and regards;
wmdrumaizi

Oleg Butuzov
Last Samuray
Last Samuray
Posts: 824
Joined: Sun Jun 02, 2002 3:09 am

Sun Mar 30, 2003 11:50 pm

$date=date("Y-m-d");
echo "<input type=text value=$date name=date>";

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests