forked from halo-battle/game
Version 0.10a
This commit is contained in:
parent
b9c240c781
commit
e391f66774
201 changed files with 5182 additions and 8158 deletions
|
|
@ -7,7 +7,7 @@ $pos=$_SESSION['pos'];
|
|||
|
||||
require('../connectBDD.php');
|
||||
|
||||
if (isset($_POST['nouveaunom']) && trim($_POST['nouveaunom']) != '') {
|
||||
if (isset($_POST['nouveaunom']) && trim($_POST['nouveaunom']) != '' && $id != 8) {
|
||||
$_POST['nouveaunom'] = htmlentities(mysql_real_escape_string($_POST['nouveaunom']));
|
||||
mysql_query("UPDATE planete SET nom_planete='".$_POST['nouveaunom']."' WHERE id_user='$id' AND galaxie='$galaxy' AND position='$pos' AND ss='$ss'") or die ("erreur sql ".mysql_error());
|
||||
header("Location: depart.php");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue