I have a variable
$school_name;
It's fetching many data from the server and I want to replace comma, underscore and dash to the variable value and echo but the problem is I can't replace it Please support for fix the bug Thank you
Use str_replace like this
$result = str_replace(array(',','-','_'), $shool_name, $yourStringFromServer);
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With