I have aproblem formating for the mysql DATETIME field.
I have tried this but it didn't work:
$timestp = time("Y-m-d hh:mm:ss");
When I just wanted the date in a mysql DATE field this worked:
$today = date("Y-m-d");
Does antone know how I format the field so I can store both
time and date ?
Thanks