Newbies Nitroman70 Posted July 15, 2010 Newbies Posted July 15, 2010 Hi, I have a problem with the Filemaker PHP API. I want to get the content of a value list. I'm using the following code : $layout =& $fm->getLayout('my_template'); $list = $layout->getValueList('my_list'); The list is imported successfully, however there are issues concerning special characters (accented letters etc...). For example : "Chargé de mission" will get imported as "ChargChargé de mission". "Animateur du réseau numérique" will get imported as "Animateur du rAnimateur du réseau numérique". When the first special character is encountered, the string is reloaded from the beginning and concatenated with what was already imported. This happens only one time per string (not again for the next accented letters). Is there any way to solve this ? Thanks for your help !
Genx Posted July 18, 2010 Posted July 18, 2010 (edited) Try: $layout = $fm->getLayout('my_template'); $list = array_map("htmlentities",(array)$layout->getValueList('my_list')); Edited July 18, 2010 by Guest
Recommended Posts
This topic is 5499 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now