هذا الخطا يظهر عند اضافة صورة وللعلم الصورة يتم اضافتها بشكل صحيح ولكن لا اريد اظهار اي اخطأ للزوار عند اضافة اي صورة
DB Error: Bad SQL Query: INSERT INTO 4images_wordmatch (image_id, word_id, name_match, desc_match, keys_match) SELECT DISTINCT 17, word_id, 0, 1, 0 FROM 4images_wordlist WHERE word_text = '?ae'
Duplicate entry '17-17' for key 1
الترميز = windows-1256
اللغة = arabic
ياريت لو ما في حل على الاقل طريقة اخفاء الخطأ
********************************************
Receive an error while adding the image
DB Error: Bad SQL Query: INSERT INTO 4images_wordmatch (image_id, word_id, name_match, desc_match, keys_match) SELECT DISTINCT 17, word_id, 0, 1, 0 FROM shnews_wordlist WHERE word_text = '?ae'
Duplicate entry '17-17' for key 1
But the image is added successfully
Search for a solution to the problem or hide the error
my charset = windows-1256
my lang = arabic