forked from halo-battle/game
Second revision by Master Leon
This commit is contained in:
parent
4230eb6922
commit
b8e951f59d
382 changed files with 3112 additions and 14815 deletions
|
|
@ -1,19 +0,0 @@
|
|||
<?php
|
||||
session_start();
|
||||
$id=$_SESSION['id'];
|
||||
$galaxy=$_SESSION['galaxy'];
|
||||
$ss=$_SESSION['ss'];
|
||||
$pos=$_SESSION['pos'];
|
||||
mysql_connect("leon.redby.fr", "leon0", "7268032");
|
||||
mysql_select_db("leon0");
|
||||
|
||||
|
||||
if (isset($_POST['nouveaunom']) && $_POST['nouveaunom']!='') {
|
||||
mysql_query("UPDATE user SET nomplanete='".$_POST['nouveaunom']."' WHERE id='".$id."' AND galaxy='".$galaxy."' AND pos='".$pos."' AND ss='".$ss."'");
|
||||
header("Location: depart.php");
|
||||
}
|
||||
else { header("Location: depart.php"); }
|
||||
|
||||
|
||||
mysql_close();
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue