Wrong Parament count
| From: | Tonya | Date: | Wed, 22 Oct 2003 06:55:34 +0000 |
| Subject: | Wrong Parament count | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-31251@lists.php.net to get a copy of this message | ||
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!