Reply to Re: what's wrong?

Your name:

Reply:


Posted by Jerry Stuckle on 03/16/07 10:49

peter wrote:
>> insert into canton ( big5, thekey, changjei, canton, touched ) values ('
>> µ\\','BAY ','MGPP ','PEI ',0)
>>
>> 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 'BAY
>> ','MGPP
>>
>> 'µ\\' is mysql_real_escape_string('µ\')
>
> The sql is failling because you have opened the quotes and not closed them
> before the bay input (you have used an escape character before the closing
> quote.
>
>

That would give a PHP syntax error. He's getting a MySQL error.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация