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;
?>

arrow
arrow
    全站熱搜

    stockwfj3 發表在 痞客邦 留言(0) 人氣()