[FX.php List] Re: Re: Mysterious asterisks appearing in fields

Dale Bengston dbengston at preservationstudio.com
Wed Mar 14 13:10:37 MDT 2007


Chris,

Yes, that is expected. It's actually a good thing, because un-escaped  
single and double quotes could cause havoc with your code coming back  
in from FMP.

My two best friends for formatting strings from FMP are stripslashes 
() and nl2br(). Often used in conjunction!

Dale

On Mar 14, 2007, at 2:02 PM, Chris Bisgard wrote:

> Dale, just to be clear, the slashes are also appearing in the  
> FileMaker
> database, not just when displaying data back to the web. Is that
> expected?
>
> Chris
>
>> Darn, that's expected behavior, and not a clue to the asterisks.
>> You'll need to use stripslashes() to address display of such data
>> back to the web.
>>
>> http://us2.php.net/manual/en/function.stripslashes.php
>>
>> Dale
>>
>> On Mar 12, 2007, at 8:39 PM, Chris Bisgard wrote:
>>
>>> A possible clue... if I enter single or double quotes in a field,
> each
>>> one ends up with a backslash in front of it in the data. Looks like
> an
>>> escape character. Page encoding to blame?
>>>
>>> Chris
>
>
>
> _______________________________________________
> 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