i am getting values from textare as show in double qoutes
"Hi_i_am_working_on_javascript_comment_box"
how to remove underscore value from it...
Use str_replace()
for example. Like that (see proof here):
$input = 'Hi_i_am_working_on_javascript_comment_box';
$output = str_replace('_', ' ', $input);
use str_replace
with php:
$string=str_replace("_"," ",$string);
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