Are mysql regular expressions supported in PHP 5.03?
I've run the query via PHP and got an error, but the query works fine when put straight into mysql. I've not come across this error message before and don't know how to get around it, but I have heard about some incompatibility issues.
Here's a sample query output from PHP:
SELECT prodName FROM tProducts WHERE `prodName` REGEXP '[[:<:]]chair[[:>:]]'
and the error:
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation 'regexp'