Answer the question
In order to leave comments, you need to log in
How to rip out IMG?
There is a piece of code:
$text = '<img src="<?=SITE_TEMPLATE_PATH;?>/img/ekspert_sect3-1.png">';
preg_match('/<img[^>]+>/', $text, $images);
var_dump($images);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question