bonjour,
je voudrais changer une variable que je modifie sur ma table le soucis c'est que cela ne fonctionne pas
donc j'ai besoin de vos lanternes merci 
value=$result[login]
include "connect.php";
$req=mysql_query("select * from log where login='$profils'");
$result=mysql_fetch_array($req);
echo "<form action='?$_SERVER[QUERY_STRING]&action=test' method='post' name='form2' onsubmit=' return checkpseudo()'>
<table border='0'>
<tr>
<td><b>pseudo</b></td>
<td rowspan='2'><input type='submit' value='VALIDER' class='buttonvalid2' /></td>
</tr>
<tr>
<td><input size='20' maxlength='20' name='login' type='text' class='inputbox3' value='$result[login]' /></td>
</tr>
</table>
</form>";
if (isset($_GET['action']) && $_GET['action']=="test"){
$req_photo=mysql_query("select login from log where login='$profils'");
$result_photo=mysql_fetch_array($req_photo);
if ($result_photo!=NULL){
echo"<br><br><p align='center'><font class='avertissement'>.:Ce pseudo est déjà pris:.<br><br>";}
if ($result_photo==NULL){ $_GET['action']="valid";
}}