Generate URL from value in dataset
-
Hi!
Im trying to modify the plugin to show statistics from the site Eliteprospects.com. Eliteprospects offers a solution to fetch the stats from their database with the following PHP code:
<? $rss = new SimpleXMLElement('https://eliteprospects.com/rss_player_stats2.php?player=XXXXX', null, true); foreach($rss->xpath('channel/item') as $item) { echo utf8_decode($item->description); } ?>
What I want to achieve is to add the code to the dataset template and then grab the ID of the player (wich is marked as XXXXX above) from a field in the dataset, and then insert it into the code above.
I hope someone understand what I mean and can help me with this.
Thanks alot!
- The topic ‘Generate URL from value in dataset’ is closed to new replies.