Site Cloner PHP Script
Bargain Hunter PHP Script
Job Hunter PHP Script
Site Login and Access Control PHP Script

Replace String in PHP With str_replace Function

Replacing Parts of String With str_replace Function

$string = “I like to eat.”;
echo $string; //
Output is:
I like to eat

$string = str_replace(“eat”,”drink juice”, $string);
echo $string;
New output is:
I like to drink juice.