Yes, simply pass the return value of strtolower($blob) as the third argument of str_replace (where you have $string).
1 |
<?php echo str_replace(' ', '-', strtolower($blob)); ?> |
Yes, simply pass the return value of strtolower($blob) as the third argument of str_replace (where you have $string).
1 |
<?php echo str_replace(' ', '-', strtolower($blob)); ?> |