Explorar el Código

fixed variable name

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

+ 1
- 1
gw-record.php Ver fichero

@@ -6,7 +6,7 @@ if ($con->connect_errno > 0){
die ('Unable to connect to database [' . $db->connect_errno . ']');
}
$sqlweapattr = "SELECT * FROM `listattribute` ORDER BY `weapattrid` ASC";
if (!$result = $con->query($sql)){
if (!$result = $con->query($sqlweapattr)){
die ('There was an error running the query [' . $con->error . ']');
}
echo '<SELECT NAME="attribute">';


Cargando…
Cancelar
Guardar