I can\'t believe I can\'t do this, but I want to be able to store the current date and time from php in to a mysql table.
The column in the table is type datetime. I
Create column type TIMESTAMP and set it to NOT NULL. Then pass in NULL during INSERT and MySQL will insert current date and time. This works for me.