לשילתא הבאה:
PHP קוד:
mysql_query("UPDATE members SET username='$username',password='$pass_s',email='$email',
fname='$firstname',lname='$lastname',birth='$birthday',city='$city',phone='$phone',msn='$msn',icq='$icq'
self='$self',body='$body',height='$height',hair='$hair',eyecolor='$eyecolor',active='1',aboutme='$aboutme',inter='$inter',per='$per',
numd='$numd',sahd='$sahd'
WHERE `username`='$username'") or die (mysql_error());
זה כותב לי את השגיאה הזו:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'self='1',body='1',height='150',hair='1',eyecolor= '1',active='1',aboutme='dsa',in' at line 3
תודה לעוזרים