Can someone show me how to .....

Results 1 to 1 of 1
  1. #1
    Tantra/Web Development jbeitz107 is offline
    MemberRank
    Mar 2012 Join Date
    USALocation
    1,471Posts

    Can someone show me how to .....

    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.




Advertisement