MySQL Forums
Forum List  »  PHP

PDO and COLLATION
Posted by: David Soussan
Date: March 22, 2007 11:06PM

Useual problem, server default (hosted) is latin1_swedish_c1 but my db and tables etc are utf8.

How do I pass _utf8 collation into a PDO prepared statement param array?

I can do it with string literals in the sql but can't find a way to bind it to the placeholders or the parameters when using pdo->prepare

Options: ReplyQuote


Subject
Written By
Posted
PDO and COLLATION
March 22, 2007 11:06PM
March 22, 2007 11:43PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.