Version 2007-10-27

This commit is contained in:
nemunaire 2007-10-27 12:00:00 +02:00
commit 4909921671
98 changed files with 6096 additions and 2268 deletions

17
pages/nom.php Normal file
View file

@ -0,0 +1,17 @@
<?php
session_start();
$id=$_SESSION['id'];
$galaxy=$_SESSION['galaxy'];
$ss=$_SESSION['ss'];
$pos=$_SESSION['pos'];
require('../connectBDD.php');
if (isset($_POST['nouveaunom']) && $_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");
}
else header("Location: depart.php");
mysql_close();
?>