Scroll to top
Find Nth Image in HTML

Find Nth Image in HTML

Find Nth Image in HTML Using below function you can find Nth Image in your HTML Code function getImageInHTML($post, $default, $i = 0) { preg_match_all('/<img.+src=(+).*>/i',…

admin September 11, 2014