Jump to content

is there a way of finding if a html page has a certain format?


kevinkhan

Recommended Posts

I want to do one thing if the html page contains

 

 

<span class="tel">Tel:  021 4929850 </span>

                               

and another thing if the html page contains

 

<span class="tel">Tel:  021 4929850 </span>
                                
                                
                                    <span class="tel2">Tel: 087 9870805</span>

 

Im using the file_get_contents(); funtion to get the html code..

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.