View Single Post
ישן 24-11-07, 16:13   # 1
Labs
חבר וותיק
 
מיני פרופיל
תאריך הצטרפות: Nov 2007
גיל: 34
הודעות: 1,500
Send a message via Skype™ to Labs

Labs לא מחובר  

שאלה| פרמטר WHERE בUPDATE (SQL)

זה נותן לי את השגיאה הבאה:

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 'WHERE `id`=2 SET idcun='בדיקה לעריכה בלה בלה בלה123',time='24/11/07 - 16:10',tim' at line 1

אני 99% בטוח שזה קשור לאיפה שהצבתי את הWHERE

זאת הפקודה שלי:
PHP קוד:
mysql_query("UPDATE idcuns WHERE `id`=$id SET idcun='$dd',time='$time',timen='$timen'") or die (mysql_error()); 
תודה לעוזרים
  Reply With Quote