PHP Clean Up Strings
Wed, 03/03/2010 - 10:23 | gurayc
Clean up your posts.
function Clean_Up_String($str){ $str = ereg_replace("[^A-Za-z0-9 ?!.,]", "", $str); return $str; }
5
Average: 5 (2 votes)
Recent comments
-
12 weeks 4 days ago
-
13 weeks 6 days ago
-
26 weeks 4 days ago
-
26 weeks 4 days ago
-
26 weeks 5 days ago


thanx
Submitted by James (not verified) on Thu, 03/04/2010 - 00:22.thanx