A
Anonymous
Guest
Hi I dont understand why this code fails ? Can anyone help me ?
---------------------------------------------
$sirket = "UPDATE `sirke` SET `sifre` =password(".$fre."), `email` ='".$to."' WHERE `g_ifre` =" .$gifre;
$del = "UPDATE sirke SET gifre = 0 WHERE sifre =password(".$fre.")" ;
mysql_query ($del);
----------------------------------------------
it encodes the $fre but not SET ing the gifre to '0'
---------------------------------------------
$sirket = "UPDATE `sirke` SET `sifre` =password(".$fre."), `email` ='".$to."' WHERE `g_ifre` =" .$gifre;
$del = "UPDATE sirke SET gifre = 0 WHERE sifre =password(".$fre.")" ;
mysql_query ($del);
----------------------------------------------
it encodes the $fre but not SET ing the gifre to '0'