Version 1.8
This commit is contained in:
parent
aea537909a
commit
5f81f76b17
184 changed files with 78335 additions and 736 deletions
|
|
@ -12,7 +12,7 @@ if (!empty($_POST['page']) && !empty($_POST['description'])) {
|
|||
$bdd->connexion();
|
||||
$bdd->escape($pages);
|
||||
$bdd->escape($description);
|
||||
$bdd->query("INSERT INTO $table_bug VALUES(NULL, '$pseudo', '$time', '$pages', '$description');");
|
||||
$bdd->query("INSERT INTO $table_bug (pseudo, temps, page, description) VALUES('$pseudo', '$time', '$pages', '$description');");
|
||||
$bdd->deconnexion();
|
||||
header('Location: ?p=bugs');
|
||||
exit;
|
||||
|
|
@ -21,7 +21,7 @@ elseif (isset($_GET['a']) && $_GET['a'] == 'del' && isset($_GET['i']) && $sess->
|
|||
$i = $_GET['i'];
|
||||
$bdd->connexion();
|
||||
$bdd->escape($i);
|
||||
$bdd->query("DELETE FROM $table_bug WHERE id = '$i' LIMIT 1;");
|
||||
$bdd->query("DELETE FROM $table_bug WHERE id = $i;");
|
||||
$bdd->deconnexion();
|
||||
header('Location: ?p=bugs');
|
||||
exit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue