Pārlūkot izejas kodu

it wont accept the date now??

development
mauirixxx pirms 8 gadiem
vecāks
revīzija
b281cf1e94
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      gw-insert.php

+ 1
- 1
gw-insert.php Parādīt failu

@@ -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 . ']');
}


Notiek ielāde…
Atcelt
Saglabāt