I have mysql database using php script.
When someone click submit, I want to automatically insert date() into my datbase table1 containing column called as add_date.
The add_date column's datatype is datetime.
In my submit form, I have a hidden field for variable "add_date". But when I trigger submit, nothing insert into my database table. But If I got rid of "add_date" column, my script is ok.
Anyway, need to get help how to insert date() automatically into my database table.
Appreciate any help,