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)
Jeff
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
>do?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

