Auto date

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

Auto date

Postby wmdrumaizi » 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.

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » Sun Mar 30, 2003 11:50 pm

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


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 3 guests

cron