Advertisement
Guest User

Untitled

a guest
Oct 7th, 2015
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. $search = array('CE', 'CLASSE II', 'ENEC');
  2. $replace = array('<img src="images/1.jpg">', '<img src="images/2.jpg">', '<img src="images/3.jpg">');
  3. echo str_replace($search,$replace,$html);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement