You wrote:
> Is it possible to write this shorter:
>
> if ($Var != "No1" && $Var != "No2" && $Var != "No3") {
> code
> };
if(!ereg("^No[1-3]$", $Var)){
// code
}
--
-Ryan :: ICQ - 595003 :: GigaBoard - http://www.gigaboard.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] If-statement Niklas Lamp�n
- Re: [PHP] If-statement Darius Ivanauskas
- [PHP] Re: If-statement Hugh Bothwell
- Ryan Fischer

