• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Can someone show me how to .....

Status
Not open for further replies.
Custom Title Activated
Loyal Member
Joined
Mar 26, 2012
Messages
1,465
Reaction score
131
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.
 
Status
Not open for further replies.