Bonjour,
Voila je veux crée un formulaire qui permet de modifié cé donné dans la basse...,
Le problème cé que je n'arive pas à aficher tout les donné du membre dans les cases du formulaire.....
<form method="post" action="page/modif.php">
<p>Pseudo: <? echo"$pseudo" ?></p>
<p>Acctuel: <? echo"$pass" ?></p>
<p><br>
Mot de passe:
<input name="pass" type="password" value="<? echo"$pass" ?>" maxlength="15">
<br>
<br>
Email:
<input name="email" type="text" value="<? echo"$email" ?>" maxlength="70">
<br>
<br>
Nom:
<input name="nom" type="text" value="<? echo"$nom" ?>" maxlength="45">
<br>
<br>
Prénom:
<input name="prenom" type="text" value="<? echo"$prenom" ?>" maxlength="45">
<br>
<br>
Date de naissance:
<input name="dtnaissance" type="text" value="<? echo"$dtnaissance" ?>" size="8" maxlength="10">
(format jj/mm/aaaa) <br>
<br>
Avatar:
<script language="JavaScript">
function AfficheAvatar(Depart, Name) {
if(Depart!="") document.getElementById("DepartAvatar").innerHTML = "<img src=\"http://manga2004.free.fr/membres/avatars/"+Depart+".gif\" alt=\""+Name+"\"><br><br>";
}
</script>
<select name="avatar" onchange="AfficheAvatar(this.value, this.options[selectedIndex].text)">
<option value="0" selected>Aucun avatar
<option value="1">Avatar 1
<option value="2">Avatar 2
<option value="3">Avatar 3
<option value="4">Avatar 4
<option value="5">Avatar 5
</select>
<br>
<br>
</p>
<div id="DepartAvatar"></div>
Site web:
<input name="siteweb" type="text" value="<? echo"$siteweb" ?>" maxlength="100">
<br>
<br>
Aim:
<input name="aim" type="text" value="<? echo"$aim" ?>" maxlength="45">
<br>
<br>
Msn Messenger:
<input name="mmsn" type="text" value="<? echo"$mmsn" ?>" maxlength="45">
<br>
<br>
<input type="submit" name="Submit" value="Envoyer" onClick="this.value='Patientez...'">
<br></p>
<input name="hiddenField" type="hidden" value="<? echo"$id" ?>">
</form>
</p>
et ya que le Pseudo le passe qui safiche.....
merci @+
vous mescuseré pour les fautes si il y ana...!.