Can someone please help me get the current date into my database?
I have the following in my php:
$LeadDatePosted = getdate('Y m d');
This posts 0000-00-00 to my mysql database for some reason. For the LeadDatePosted field I have the type set to DATE. How can I make this work? Thanks in advance!