Had a premier support session with Ray the other evening re the mod_rewrite stuff from the Poerstore webinar.
he helped set up the database to duplicate the title column entry to a permalink one and use pre_replace on it.
This is what I am using in the update record
<?php echo ((isset($_POST["NewsTitle"]))?preg_replace('/[^0-9a-z]/i','-',$_POST["NewsTitle"]):""); ?>
What that is doing is taking this sort of title
A sweet marketing idea!
and changing it to
Its taking any replaced characters (ie ! or . etc) and replacing them with -
How would I keep spaces replaced with a - but just remove the chars I dont want completely?