/ Published in: PHP
remove multiple spaces and replace with underscore
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function stringUrlFormat($str){ // compress multiple spaces $count = 1; while($count){ } return $str; }