replace string to php string code example
Example 1: php replace string within string
$new_string = str_replace( $take_out, $put_in, $string);
Example 2: str_replace php
echo str_replace("worss","world","Hello worss in PHP!!");
$new_string = str_replace( $take_out, $put_in, $string);
echo str_replace("worss","world","Hello worss in PHP!!");