Input current time of server into the sql server using this php code?
$administrador = $_SESSION['admusername'];
$ip = $_SERVER[REMOTE_ADDR];
$time = time();
$FechaYHora = date('d\/m\/Y h:i:s A');
The problem is that everytime I enter the vouchers for my site it always puts 1/1/1900 12:am and this creates duplicate rows that cannot be deleted. Please help. Thank you.
