parsing - simple html dom parser and pagination -


i use simple html dom parser parse website, , have encountered problem handling pagination on website. actual code parse 1 page, , i'd parse pages:

<?php     include ('simple_html_dom.php');  $url = file_get_html('http://www.ecran-portable.net/268-ecrans-pc-portable');  foreach($url->find('.product-name') $produit) echo $produit->plaintext . '<br />';  ?> 


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -