Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

html add div around certain iframe php

$new = str_replace(['<iframe', '</iframe>'], ['<div class="generated-div"><iframe', '</iframe></div>'], $str);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #html #add #div #iframe #php
ADD COMMENT
Topic
Name
7+8 =