How can i add today's date to a field in mySQL. I am using a form to insert into the table.
I used $now = date("Y-m-d"); it doesn't seem to work
now is the name of feild also.. any ideas are appreciated.
Thanks
You need to echo it.
<?php
$now = date("Y-m-d"); echo $now;
?>
That should work fine.