Re: WHERE is syntax doc'ed for saying: if (expr1 *OR* expr2 *AND* expr3)

From: Date: Mon, 25 Aug 2008 00:48:14 +0000
Subject: Re: WHERE is syntax doc'ed for saying: if (expr1 *OR* expr2 *AND* expr3)
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-278620@lists.php.net to get a copy of this message
if (stripos(strrev($file), "gpj.") === 0) || (stripos(strrev($file), "fig.") === 0) || (stripos(strrev($file), "gnp.") === 0) { You have too many parenthesis: if (stripos(strrev($file), "gpj.") === 0) <-- this ends the if statement; the next || is unexpected. Also, at the end, you're missing a parentheses at the end: (stripos(strrev($file), "gnp.") === 0) should be(stripos(strrev($file), "gnp.") === 0)) -- GREG

« previous php.general (#278620) next »