Your $text string has an apostrophe in it, so if the syntax is expected to be legal SQL, than the problem could easily be that. Try removing the apostrophe to see if the error goes away. If so, figure out what the proper quoting convention needs to be and be sure to quote your strings appropriately.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: How to transmit text to Yahoo Content Analysis
by roboticus
in thread How to transmit text to Yahoo Content Analysis
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |