Thread: Need help
View Single Post
12-18-2012, 09:34 AM
#1
ervisballa is offline ervisballa
Status: I'm new around here
Join date: Dec 2012
Location:
Expertise:
Software:
 
Posts: 1
iTrader: 0 / 0%
 

ervisballa is on a distinguished road

  Old  Need help

I receive an error in my line of code, any help please


$code=$_REQUEST['CODE'];
$username=$_REQUEST['USERNAME'];
$password=$_REQUEST['PASSWORD'];
$firstname=$_REQUEST['FIRSTNAME'];
$lastname=$_REQUEST['LASTNAME'];
$email=$_REQUEST['EMAIL'];
$accountstatus=$_REQUEST['ACCOUNTSTATUS'];

Here give me error
$query="Update users set USERNAME=".$username,"PASSWORD=".$password,"FIRSTN AME=".$firstname,"LASTNAME=".$lastname,"EMAIL=".$e mail,"ACCOUNTSTATUS=".$accountstatus,"where CODE="$code"";

mysql_query($query) or die ('Gabim');

Reply With Quote