Removing space
Posted: Mon Dec 20, 2004 8:24 am
Hi,
I am using this to remove unwanted tags from my posted data, but would like to keep the "space" if they entered one.
How can i modify this?
$s = ereg_replace("[^A-Za-z0-9]", "", $s);
thanks
s
I am using this to remove unwanted tags from my posted data, but would like to keep the "space" if they entered one.
How can i modify this?
$s = ereg_replace("[^A-Za-z0-9]", "", $s);
thanks
s