Menu
Hi Folks,
I have a database where the fields are stored in UTF8 and utf_general_ci. I’m pulling the data from the database and I then want to see if a pulled value is in a fixed array which I’ve coded into php (array(“home”,”Über
uns”,”strona główna”)).
For some reason this doesn’t seem to work. I’ve tried setting the Internal/External/Output character encodings and played with other settings, including utf8_en/decoding it as well. Even though in text, the value from MySQL reads “strona główna” (which I believe means Home page in Polish) it doesn’t get found with in_array.
Any help would be great.
Thanks
A