Skip to content

Convert spaces to dash and lowercase with PHP

Yes, simply pass the return value of strtolower($blob) as the third argument of str_replace (where you have $string).

Share via
Copy link
Powered by Social Snap