Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $file = file_get_contents('file.txt', true);
- // echo $file;
- $pieces = explode(",", $file);
- print_r($pieces);
- foreach ($pieces as $key => $value) {
- $h = file_get_html($value);
- $title = $h->find('p.b-product-cost__price') ;
- echo $title ->plaintext;
- }
- $file = file_get_contents('file.txt', true);
- // echo $file;
- $pieces = explode(",", $file);
- print_r($pieces);
- foreach ($pieces as $key => $value) {
- $h = file_get_html($value);
- }
Add Comment
Please, Sign In to add comment