This topic is locked

Tokens in URL? Need help today!

2/21/2012 1:15:04 PM
PHPRunner General questions
author

I'm trying to provide links to some google maps we have configured for legislative redistricting. The example below does not work. Can you help?

http://maps.google.com/maps?f=q&hl=e&q=http://newmapmn.com/Portals/0/KML/vs/{$HD12_value}.kml


The "{$HD12_value}" is the House district value that needs to complete the link.
The maps are coming out today!! Thanks.

C
copper21 2/21/2012

I think this might work: Open up the HD12_value field and select "Custom" in "View As"
$data;

$value = "<a target=_blank href=\"http://maps.google.com/maps?f=q&hl=e&q=http://newmapmn.com/Portals/0/KML/vs/".$data["HD12_value"].".kml\">House District Value</a>";
This will open up this link in a new window, but should place the HD12_value after the forward slash and before the .kml
Brian

501406 2/21/2012



I think this might work: Open up the HD12_value field and select "Custom" in "View As"
$data;

$value = "<a target=_blank href=\"http://maps.google.com/maps?f=q&hl=e&q=http://newmapmn.com/Portals/0/KML/vs/".$data["HD12_value"].".kml\">House District Value</a>";
This will open up this link in a new window, but should place the HD12_value after the forward slash and before the .kml
Brian


I get "invalid character in line 1." error. I pasted in exactly as above. Yikes... Thanks though. It did not work when uploaded.

Sergey Kornilov admin 2/21/2012

Do you use ASPRunnerPro or PHPRunner?

501407 2/21/2012



Do you use ASPRunnerPro or PHPRunner?


ASPRunnerPro 7.0

Sergey Kornilov admin 2/21/2012

I guess posting this in PHPRunner forum doesn't make much sense in this case.

C
copper21 2/21/2012

I second that...

501408 2/21/2012



I second that...



Sorry, Brian. I added it to the correct forum.