PHP Mixed Str_Replace ( Mixed Needle, Mixed Replace, Mixed Haystack [, Int &Count] ) – String Function

<?
    $string = "this is a test";
    $newstring = str_replace("is", "is not", $string);
    print $newstring;
?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.