PHP String Functions
<?php // replace spaces in $string with dashes. str_replace(" ","-", $string) ?>