How can I prevent these chars {,},[,],<, and > from being acceptable in a 'text' field in a form?
I tried the following:
if (ereg("([{}[]<>])", $field2, $arr6)) {$clean_up[field2] = $arr6[0];}
but, if these symbols appeared, e.g. at the end of the text, it was ignored.
Thank you.