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
Post a Comment