- file_get_contents: documentation ( source)
- preg_match_all: documentation ( source)
<?php
$url = 'http://www.tredz.co.uk/road-bikes';
$feed = file_get_contents($url);
$pattern = '%<a class="ga" href="([^"]+)".*data-ga-label="(.*)">\s*<img.*\/>\s*<noscript>.*<\/div?\s*.*<div.*<div class="sales-price">\s*.*£((?:\d[,]*)+[.,]?\d{2})\s*<\/div?%Usim';
preg_match_all($pattern, $feed, $products);
//echo "<pre>" ; var_dump($products[1]); echo "</pre>" ;
$produrl = $products[1];
$prodname = $products[2];
$prodprice = $products[3];