Syntax

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

 



Hello all,
Is this correct syntax?

...
case preg_match("/^[-1|delete|hide|save]/", $MassOption) !== 1 :
...

I am needing to test against -1 (negative 1) and the words delete, hide, and save.
$MassOption should not equal those.

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com




[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