berry
При добавлении в линк лист фриха, скрипт ругается...
я так поняла на кавычку, видела что экранируют ее слешем, не помогло..
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 't enough so she gets the others filled', _score = '0', _user_mail = 'adim@site.c' at line 1
INSERT INTO asm_eLinks_link SET category_id = '17', s_status = 'Approved', s_type = 'Normal', _url = 'http://twoholecrammers.freehdsites.com/monica_lion/p/001/?aid=&pid=1&c=E&pr=2', _title = 'Monica Gets Crammed 1', _description = 'One hole isn't enough so she gets the others filled', _score = '0', _user_mail = 'adim@site.com', _user_name = 'Administrator', l_submit_time = '1182218220', l_approve_time = '1182218220', s_last_mod = '-1', s_length = '0', s_md5 = '0', fi_1 = '1'
как заэкранировать правильно?
Formator
Код:
INSERT INTO asm_eLinks_link SET category_id = '17', s_status = 'Approved', s_type = 'Normal', _url = 'http://twoholecrammers.freehdsites.com/monica_lion/p/001/?aid=&pid=1&c=E&pr=2', _title = 'Monica Gets Crammed 1', _description = 'One hole isn\'t enough so she gets the others filled', _score = '0', _user_mail = 'adim@site.com', _user_name = 'Administrator', l_submit_time = '1182218220', l_approve_time = '1182218220', s_last_mod = '-1', s_length = '0', s_md5 = '0', fi_1 = '1'
так не помогает? По другому сложно придумать.
http://php.net/mysql_real_escape_string тут вот ещё почитай, если вставку выполняет скрипт.