You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 9 година
1234567891011
  1. <?php
  2. include "header.php";
  3. connecte("ecomonde");
  4. $id=$_POST['id'];
  5. $pseudo=$_POST['pseudo'];
  6. $pass=sha1($_POST['password']);
  7. $sql="UPDATE membres SET pseudo='$pseudo',pass='$pass' WHERE id=$id";
  8. mysql_query($sql) or die(include('index.php?msg=0'));
  9. if($sql) header("location:index.php?msg=1");
  10. ?>