The plus is a special character for regular expressions.  You need to 
escape it in order to search for a literal +

Try this:

eregi("\\+", $variable)


At 08:40 PM 2/7/2002 -0500, you wrote:
>I'm trying "if(eregi("+",$variable)){", but it gives me an error.  What do I

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to