Jump to content

Find string in text


vangilsweb

Recommended Posts

I have the following variable:

 

$text = "javascript:openimage('http://images.icecat.biz/img/norm/high/5966342-254.jpg',850,850)"

 

Now I want to put the string "http://images.icecat.biz/img/norm/high/5966342-254.jpg" into a variable called $url

( $url = "http://images.icecat.biz/img/norm/high/5966342-254.jpg" )

 

How do I do this?

Link to comment
https://forums.phpfreaks.com/topic/225832-find-string-in-text/
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.