I am playing with ereg_replace(). However, is there a way to lop threw all the garbage, so I don't have to do this?
$queryCleanUp=ereg_replace("!", "", $query);
$queryCleanUp=ereg_replace("@", "", $queryCleanUp);
and so on....
$queryWords=split(" ", $queryCleanUp);
For any char that someone could enter. Or is there another way I could go with this that I am not seeing. Thanks…
Donnie