Answers for "html add div around certain iframe php"

PHP
0

html add div around certain iframe php

$new = str_replace(['<iframe', '</iframe>'], ['<div class="generated-div"><iframe', '</iframe></div>'], $str);
Posted by: Guest on April-26-2021

Browse Popular Code Answers by Language