Hi all,
I registered a few minutes ago and I start asking.
Hope you'll give me a hand.
Well, I have a problem with preg_match_all();
PHP Code:
<span class="md_mu">meganfox.jpg</span><span class="md_lc">
I have a long string with those kind of printing.
Wanna get all image names between
<span class="md_mu"> and </span><span class="md_lc">
That's my code:
PHP Code:
$word = preg_match_all('/<span class="md_mu">(.*?)</span><span class="md_lc">/', $google_images, $out);
Where am I wrong?
Thanks in advance.
Angel.
|