i keep getting errors from this line of code:this is the error: Warning: ereg() [function.ereg]: REG_EBRACK in /home/mobile/public_html/addcomment.phpPHP Code:
ereg("[url", $comment)
however this works:so i'm inclined to think it's the '[' that's causing the problems. any idea how i can fix this?PHP Code:
ereg("http", $comment)
thanks!