forked from halo-battle/game
Version 2007-11-04
This commit is contained in:
parent
4909921671
commit
ebc73c5744
377 changed files with 5163 additions and 2495 deletions
|
|
@ -8,6 +8,7 @@ $pos=$_SESSION['pos'];
|
|||
require('../connectBDD.php');
|
||||
|
||||
if (isset($_POST['nouveaunom']) && $_POST['nouveaunom']!='') {
|
||||
$_POST['nouveaunom'] = htmlentities($_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