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

Belleek Classic Shamrock Butter Dish from Belleek
Belleek Classic Shamrock Butter Dish Accentuate your Shamrock collection by displaying your butter or margarine in this stunning Shamrock Butter Dish. Made from Irish Porcelain, this butter dish is... Price: £28.00 (Price correct on 2026-10-09)...

Only 7 days left
HTVRONT EU Store Auto1 Heat Press from HTVRONT
€70.00 off HTVRONT EU Store Auto1 Heat Press. Price: €219.99...

£20 Off from HTVRONT
£20 Off H10 Heat Press...

10% Off from Green Tree Doors
10% Off Single Doors - when you spend £500...

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