PHP & Illegal mix of collations in MySql dump file -


i wrote php script harvest data want enter database. includes user's usernames need entered, users chose usernames upside down text, i.e, 'uıɯpɐ'

i collation error when use username in clause, there way php sanitize before going database avoid this?

#1267 - illegal mix of collations (latin1_swedish_ci,implicit) , (utf8_general_ci,coercible) operation '='  

the way script set don't have of choice use username in clause.


Comments

Popular posts from this blog

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

Hard vs. Soft Water: What's The Difference?

The Ten Most Livable Cities In The World