Answers for "string replace space with underscore php"

PHP
4

php replace space with underscore

$str = str_replace(' ', '_', $str);
Posted by: Guest on July-14-2020
3

php convert spaces to underscores

$str = str_replace(' ', '_', $str);
Posted by: Guest on August-25-2020

Code answers related to "string replace space with underscore php"

Browse Popular Code Answers by Language