MYSQL and PHP 4.3.3 *sigh* I hate eregs and I'm really bad with them :/
I have a form that has a field in which the user is supposed to enter an IRC channel name. IRC channel names begin with a '#'. ereg("^#") does not work. I am getting the error "Warning: Wrong parameter count for ereg()" Can someone give me a working ereg for this?? :) Thanks!