Mega Code Archive

 
Categories / Php / Strings
 

Strtr php

<?php    $table = array("<b>" => "<strong>", "</b>" => "</strong>");    $html = "<b>Today</b>";    echo strtr($html, $table); ?>