Here is the code
I need to find ' or + in the str but got warning :
[15-May-2009 15:57:26] PHP Warning: ereg() [<a href='function.ereg'>function.ereg</a>]: REG_BADRPT in D:\http\index.php on line 118
Please help me.
PHP:
if(ereg('\'|+',$str)){
.
.
.
}
I need to find ' or + in the str but got warning :
[15-May-2009 15:57:26] PHP Warning: ereg() [<a href='function.ereg'>function.ereg</a>]: REG_BADRPT in D:\http\index.php on line 118
Please help me.















