question marks in link attribute not showing up
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



question marks in link attribute not showing... Expand / Collapse
Author
Message
Posted 9/11/2007 11:51:01 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/25/2007 1:50:56 AM
Posts: 2, Visits: 5
if i setthe link attribute in a map to this:



anything after the .php doesn't show up after you click the link... eg. it goes to regions/oceania.php NOT regions/oceania.php?get=1


is there any particular reason for this?


thanks
Post #2352
Posted 9/12/2007 12:38:31 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 1:31:05 AM
Posts: 677, Visits: 1,081
You have to URL encode the link's value :

Use urlencode() PHP function to encode the link say, urlencode("regions/oceania.php?get=1") before setting this as link's value.

The encoded link may look like this : regions/oceania.php%3Fget%3D1

Finally the XML element will be like this :

[entity id='AU' link='regions/oceania.php%3Fget%3D1' displayValue='OC' toolText='Oceania' value='18' /]

*NOTE : please read [ as < and ] as >


Regards,

Sudipto Choudhury
FusionCharts Team
Post #2353
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 6:22am


Execution: 0.047.