Maaz Khan
Maaz Khan
Sep 9, 2018 · 1 min read

Man I just downloaded your code put it in my localhost connected the internet, run it but it retrieved an empty array

well they have changed their layout from tables to divs so I rewrote the query but still the same thing empty array, btw it is not showing any error

this is the query i rewrote for div: $elements = $xpath->query(“*/div[@class=’container’]/div[@class=’left’]/div[@class=’right’]/div[@class=’row-gray’]/span”);

    Maaz Khan

    Written by

    Maaz Khan