[FX.php List] Attribute quotation marks in HTML in FM field
Craig Forster
craig at qmediagroup.net
Wed Jun 8 23:18:39 MDT 2005
Hi kevin
At the php level you could use a simple string substitution to get it back
the way it should be
Eg
<?
echo str_replace('%22', '"', $kevinsQuery['filemaker_url_field'][0]);
?>
(Assuming the quote mark you are talking about is encoded as %22)
More info here:
http://nz.php.net/manual/en/function.str-replace.php
http://www.blooberry.com/indexdot/html/topics/urlencoding.htm
HTH
Craig
On 9/6/05 4:19 PM, "Kevin Futter" <kfutter at sbc.melb.catholic.edu.au> wrote:
> Hi all,
>
> Not sure if this is the most appropriate place to ask this, but I'll fire
> away anyway.
>
> When recently we added HTML containing a URL to a field in FM and served it
> to the web via FX, the attribute quotation marks were automagically
> transformed into HTML character codes, thus rendering the URL invalid and
> non-functional. I've turned off smart quotes in FM, but it hasn't made any
> difference, so I'm hoping there's a way around this at the FX/PHP end of
> things.
>
> Any ideas?
>
> Cheers,
> Kevin Futter
More information about the FX.php_List
mailing list