Answers for "how to space in php code"

PHP
4

php replace space with underscore

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

php string replace space

$journalName = preg_replace('/\s+/', '_', $journalName);
Posted by: Guest on February-05-2021

Browse Popular Code Answers by Language