Hello,
The following code will be used to make the filename part of a url, so what im doing is taking the pagetitle and replacing all gaps within in to '-' as well as making it non-caps.
PHP Code:
<?
$title = the_title();
$str = strtolower($title);
$newtitle = str_replace(" ", "-", $str);
?>
However I'm having a problem getting the function into the variable, at the moment the function is rendering without going into the variable...
Any ideas what's happening?