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.'
';
}

Ariane Round Mirror from Cox and Cox
Designed to make a sympathetic statement in a laid back setting, out Ariane Mirror has a simple textured round metal frame softened with a gently distressed cream pain effect. The perfect complement... Price: £195.00 (Price correct on 2026-10-11)...

Stay Longer Special from Anantara
Save up to 25% on stays of 4+ nights, including breakfast for two and exclusive long-stay luxury benefits - Includes breakfast for two plus selected room upgrade benefits...

10% Off from Case Luggage
Get 10% Off Blunt Umbrellas...

Hamlet Solution 5 Compact DEFRA Approved Wood Burning / Multifuel Ecodesign Stove from Direct Stoves
Hamlet Solution 5 Compact DEFRA Approved Wood Burning / Multifuel Ecodesign Stove Price: £584.00 (Price correct on 2026-10-07)...

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