Eléphant du PHP |
84 Messages
11 mai 2005, 12:03
je l'est fait ila fiche bien la valeur du psueod j'ai aussi verifier $_POST['profil'] il s'afiche aussi
c'est bizare
le bdd est bonne, les variable son bonne, le script me parai bon

voila le code entier
<html>
<head>
<meta http-equiv="Content-Language" content="fr">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Nouvelle page 1</title>
</head>
<body background="design/fond.png">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" id="AutoNumber1" width="336">
<tr>
<td width="336" style="border-style: none; border-width: medium" background="design/h.PNG">
<p align="center"><font face="Comic Sans MS" color="#000080"><b>News profil</b></font></td>
</tr>
<tr>
<td width="336" style="border-style: none; border-width: medium" background="design/pagefond.gif">
<p align="center">
<?
echo $_SESSION['pseudo'];
echo $_POST['profil'];
mysql_connect('***','***');
mysql_select_db('aafgtn_db');
$don=mysql_query("UPDATE membre SET profil='".$_POST['profil']."' WHERE pseudo='".$_SESSION['pseudo']."'")or die(mysql_error());
mysql_close();
if($don)
{
$profil=stripslashes($_SESSION['profil']);
echo $profil;
}
else
{
echo 'Il y a une erreur réessayer ou contacter le web master';
}
?>
</td>
</tr>
<tr>
<td width="336" style="border-style: none; border-width: medium" background="design/b.PNG"> </td>
</tr>
</table>
<p> </p>
</body>
</html>
l'URL :
http://membres.lycos.fr/aafgtn/index.ph ... 9dc52a0d8c
Voila

je comprend pas, merci canmeme zeus

~~Jojo~~