try this
<?php
$string = "this is the string";
$string = strtr($string, "tr", "po");
print "$string";
?>
this will change any occurences of either "t" and "r" with "p" and "o".
so it would print:
"phis is phe spoing"
hope is helps
sam
:-)
looking for something? find it @:
www.samaronline.co.uk