[FX.php List] Pulling back an apostrophe

VanBuskirk, Patricia pbuskirk at fsu.edu
Mon Jun 14 11:14:06 MDT 2010


Thanks Dale!



-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Dale Bengston
Sent: Monday, June 14, 2010 1:11 PM
To: FX.php Discussion List
Subject: Re: [FX.php List] Pulling back an apostrophe

Hi Trish,

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.

http://us3.php.net/manual/en/function.addslashes.php
http://us3.php.net/manual/en/function.stripslashes.php

Hope this helps,
Dale



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!
> 
> Trish
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list


More information about the FX.php_List mailing list