Hello, I want to parse only a div from a webpage and I don't know how. Please take a look at http://www.emag.ro/telefoane-mobile/telefon-mobil-samsung-galaxy-mini-s5570steel-grey--pS5570SteelGray and please instruct me how to parse only the price (<div class="pret-produs">). I'm looking forward for a reply. Thank you for your time ! P.S. English as a second language
using file_get_contents() function ref: http://php.net/manual/en/function.file-get-contents.php , you will get whole page html info and then search your "<div class="pret-produs">" string in whole content.