escaped ampersand causing invalid XML Data
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



escaped ampersand causing invalid XML Data Expand / Collapse
Author
Message
Posted 5/9/2008 11:55:11 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/13/2008 12:57:58 PM
Posts: 4, Visits: 11
I'm using the following to link my data points:

$strXML .= "<set value='" . $ors3['players'] . "' link='results.php?locid=$locid&amp;date=$eventdate' />";

This returns "Invalid XML Data"

I know the &amp; is the issue because if I remove it and the second parameter, the link works fine.

Is there another way to escape the ampersand?

Post #6160
Posted 5/9/2008 12:46:07 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/13/2008 12:57:58 PM
Posts: 4, Visits: 11
Nevermind. I figured it out.

Using %26amp; works.
Post #6161
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 5:40am


Execution: 0.063.