[FX.php List] Pulling back an apostrophe
dbengston at tds.net
Mon Jun 14 11:10:46 MDT 2010
Take a look at the PHP manual entries for addslashes() and stripslashes(). These functions add and remove bacwards slashes \ to escape various characters - including quotes - in text fields.
Hope this helps,
On Jun 14, 2010, at 9:10 AM, VanBuskirk, Patricia wrote:
> We have a directory setup in FMP9, using FX.php to allow users to
> add/edit/remove listings. The issue we've recently come up against is
> bringing a line back to the webpage from FM that has an apostrophe in
> it. I have a function that changes special characters before submitting
> them to FM, and the line shows up perfectly there, but when it shows
> online in the list, the apostrophe and everything after it is missing.
> Any ideas on how I fix this?
> As usual, I appreciate any/all advice!
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
More information about the FX.php_List