im not sure how to do this: my code used the deprecated ereg_replace like this:
$name = ereg_replace(" ", "", $name);
i replaced it with this:
$name = preg_replace(" ", "", $name); //this is line 65
but know get a warning:
Warning: preg_replace(): Empty regular expression on line 65
what am i doing wrong please?
thank you