[PHP] Re: need help with parsing form input ...

2003-03-11 Thread Bobby Patel
eregi_replace("[^[:alnum:].]", "", $string_val); notice the period after the first closing brace. "Kenn Murrah" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks ... one more thing: is there a way to modify this to allow a period > (dot) to included, as well as the alha and

[PHP] Re: need help with parsing form input ...

2003-03-11 Thread Kenn Murrah
Thanks ... one more thing: is there a way to modify this to allow a period (dot) to included, as well as the alha and num characters? once again, thanks. function make_alphanum($string_val) { return eregi_replace("[^[:alnum:]]", "", $string_val); } strips everything except ALPHA and NUM C

[PHP] Re: need help with parsing form input ...

2003-03-11 Thread Joel Colombo
function make_alphanum($string_val) { return eregi_replace("[^[:alnum:]]", "", $string_val); } strips everything except ALPHA and NUM Chars Joel "Kenn Murrah" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Greetings. > > I'm out of my league here, not knowing enough about reg