Jump to content

select text if ...


fer0an

Recommended Posts

hello

I've some text and I want release download link between it .

so I'm using

$finddl = textbetween ('DOWNLOAD:','</div>',$text);

but some times $text writer using <!--QuoteBegin--> and <!--QuoteEnd--> not download: and </div>.

 

how I can say that is , if download: unavailable searching <!--QuoteBegin--> and select textbetween ?

 

 

Thank you

Link to comment
https://forums.phpfreaks.com/topic/237319-select-text-if/
Share on other sites

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.