forked from halo-battle/game
Version 1.7i
This commit is contained in:
parent
8a8280758b
commit
ba5e741c99
136 changed files with 2561 additions and 2105 deletions
|
|
@ -20,7 +20,7 @@ if (isset($_POST['coeff_metal']) && isset($_POST['coeff_cs'])) {
|
|||
$bdd->escape($coeff_hydrogene);
|
||||
$bdd->escape($coeff_cs);
|
||||
$bdd->escape($coeff_ce);
|
||||
$bdd->query("UPDATE `planete` SET `coeff_mine_m` = '".($coeff_metal/100)."', `coeff_mine_c` = '".($coeff_cristal/100)."', `coeff_mine_h` = '".($coeff_hydrogene/100)."', `coeff_centrale_s` = '".($coeff_cs/100)."', `coeff_centrale_f` = '".($coeff_ce/100)."' WHERE `id` = '$idPlan'");
|
||||
$bdd->query("UPDATE planete SET coeff_mine_m = '".($coeff_metal/100)."', coeff_mine_c = '".($coeff_cristal/100)."', coeff_mine_h = '".($coeff_hydrogene/100)."', coeff_centrale_s = '".($coeff_cs/100)."', coeff_centrale_f = '".($coeff_ce/100)."' WHERE id = '$idPlan'");
|
||||
$bdd->deconnexion();
|
||||
header('Location: ?p=ressources');
|
||||
exit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue