Wrong Parament count

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux