December 19, 200817 yr I have what seems like an odd case here, but there is probably a simple solution that someone new to PHP like myself has overlooked. I have a calculated text field that displays some html tags such as . I created this for the purpose of saving time when displaying information on our website. In order to get it to display properly I use html_entity_decode on the getField results. I tested this by having a copy of our website on our local server where Filemaker is hosted and everything works fine. However, when I moved the site to the external web server where our public site is hosted it stopped working. Instead of , the html source just shows br. The external web server is running php version 5.2.6 so I have no idea what is causing the problem. All of the data is there but it is formatted differently from the copy on our internal server.
December 22, 200817 yr Author Just a follow up. I have been trying different things to make html show up on our live site. I have tried using < and > to make <>. I tried translating with htmlentities, htmlspecialcharacters, and others but it always results in the echo statement just printing what is in between the carrots. Does anyone know if there is some server setting that might prevent these from working?
January 4, 200917 yr exactly what get's printed if you don't alter the field's value at all? Exactly what string does the field contain? I'm also a little unclear on what you're attempting to do one<br />two will just print out one two on the screen not: one two
Create an account or sign in to comment