SyntaxFix
Write A Post
Hire A Developer
Questions
use this
$date = date('m/d/Y h:i:s', time());
and then in MYSQL do
type=varchar
then date and time will be successfully inserted