How to replace strings using PHP?
To replace a certain word or character in a string, simply use the str_replace function.
How to use? Just write the function and in the first argument, you insert the string to be replaced. In the second argument, you insert a new string to be insert. In the third argument, you enter the subject where you will search for the first argument.