close
<?
$string = "Welcome To The PHPCHINA.COM ,Have A Good Time.";
$search = array("Welcome To The PHPCHINA.COM", "Have A Good Time", ".");
$replace = array("PHP", " is Good", "!");
$newstring = str_replace($search, $replace, $string);
echo $string."<br />";
echo $newstring;
?>
全站熱搜
留言列表