Welcome to iCodes

Tutorial

Basic Example PHP Coding



$xml = simplexml_load_file("PASTE A WEBSERVICES REQUEST HERE");

foreach ($xml->item as $item) {
$title = $item->title;
$description = $item->description;
$merchant = $item->merchant;
$voucher_code = $item->voucher_code;
$expiry_date = $item->expiry_date;
$affiliate_url = $item->affiliate_url;
$merchant_logo_url = $item->merchant_logo_url; $merchant_url = $item->merchant_url;

echo'
'.$merchant.'
'.$title.'
'.$description.'
'.$expiry_date.'
'.$voucher_code.'
'.$affiliate_url.'
'.$merchant_logo_url.'
'.$merchant_url.'
';
}

Lytham Memory Support Divan Bed Set from Bensons for Beds
If you're looking for a great value mattress that offers a super supportive tailored sleep, then take a look at our Lytham Memory Support Mattress. Made with several layers, the mattress combines... Price: £609.98 (Price correct on 2026-11-03)...

Only 5 days left
30% Off POREfessional Hydro Pop from Benefit Cosmetics
30% Off POREfessional Hydro Pop: Was £68.50, Now Just £47.95...

Save £20 from Shedstore
Save £20 on any £550 order...

Searchlight 7173-3 Bel Air 3 Light Outdoor Post Lamp from Lights 4 Living
Bel Air Outdoor Post Lamp 7173-3 in Cast Aluminium with alchromated Finish and Heavy Cast BaseIP43 Rated for weather resistanceHeight 2330mm Takes 3 x 100watt E27 Golf Ball Lamp (not included)or 3 x... Price: £226.32 (Price correct on 2026-11-06)...

Voucher Codes   Contact Us   Terms and Conditions   Privacy Policy   Tutorial   New Platform   Update Cookies Preferences   Sitemap