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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux