IcoLove Posted February 15, 2009 Share Posted February 15, 2009 Hey all I'm trying to parse the price from http://www.henrys.com/webapp/wcs/stores/servlet/ItemsDisplay?storeId=10001&catalogId=10001&departmentId=10404&categoryId=10429&itemID=224004 I have the script parsing 8 others without an issue, but this one has me stumped. if (strpos(strtolower($priceurl) , "henrys")) { $regex = "Price:.+?<b>(.+?)CAD"; } Is there anything wrong there? Thanks a ton. Craig Link to comment https://forums.phpfreaks.com/topic/145293-parsing-a-price-from-a-website/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.