Ver original<?php $fecha = date('Y-m-d h:i:s'); $link = mysql_connect('localhost', 'root', '', true);mysql_select_db('db', $link);mysql_query("INSERT INTO tabla VALUES ('{$fecha}')", $link); ?>