Explorar el Código

it wont accept the date now??

development
mauirixxx hace 8 años
padre
commit
b281cf1e94
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      gw-insert.php

+ 1
- 1
gw-insert.php Ver fichero

@@ -19,7 +19,7 @@ if ($droptype == 1){
}
} else if ($droptype == 2){
$matid = mysqli_real_escape_string($con, $_POST['rarematerial']);
$sqlmatins = "INSERT INTO `history` (historydate, charnameid, locationid, goldrec, material) VALUES ('$treasdate', $toonid, $locid, $gold, $matid)";
$sqlmatins = "INSERT INTO `history` (historydate, charnameid, locationid, goldrec, material) VALUES (\"$treasdate\", $toonid, $locid, $gold, $matid)";
if (!$result = $con->query($sqlmatins)){
die ('There was an error running the query [' . $con->error . ']');
}


Cargando…
Cancelar
Guardar