e1seix Posted September 4, 2008 Share Posted September 4, 2008 oh, it's probably just my age, but i use an xml feed etc. $xml = simplexml_load_file('http://content.webgains.com/affiliates/datafeed.html?action=download&campaign=xxxxxxx&[email protected]&password=xxxxxxx&format=xml&zipformat=none&fields=standard&programs=347&categories=1234'); so i want to manipulate the category (1234) at the end of the feed using $ID=$_GET[iD]; from address bar, but I can't seem to make it stick for some reason. i thought this would work, but it doesn't $xml = simplexml_load_file('http://content.webgains.com/affiliates/datafeed.html?action=download&campaign=xxxxxxx&[email protected]&password=xxxxxxx&format=xml&zipformat=none&fields=standard&programs=347&categories=".$ID."'); any help? i'm sure it's just a syntax problem. i want to do it this way instead of having to use if/else statement cos it'll take forever to write. cheers Link to comment https://forums.phpfreaks.com/topic/122755-xml-feed-syntax-problem/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.