próbuje zamienić wszystko poza a-Z (z polskimi) oraz _ - na nic, jednak wyskakuje błąd jak próbowałem dodać znaki Polskie, jak to naprawić?
ps. błąd taki:
Kod
<br />
<b>Fatal error</b>: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=''
<b>Fatal error</b>: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=''
Baza jest w utf8. (utf8_polish_ci)