|
Posted by peter on 03/16/07 11:47
> That would give a PHP syntax error. He's getting a MySQL error.
If for example in the php code he has the following:-
$sql = "insert into canton ( big5, thekey, changjei, canton, touched )
values ('\','BAY ','MGPP ','PEI ',0)"
then no it will not create a php parse error it will have an sql error like
he has as \' is an escaped single quotation mark thus the closing quotation
mark is the 1 directly before BAY
[Back to original message]
|