Kim Steinhaug wrote:
Often I end up using a "dumb" IF statement which to me seems that
it could have been done some other way.
Example :
if(
($_GET["id"]==1) or
($_GET["mode"]=="home") or
((!isset($_GET["item"])) && ($_GET["mode"]=="news"))
) {
// Here we do nothing
} else {
"Kim Steinhaug" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Often I end up using a "dumb" IF statement which to me seems that
> it could have been done some other way.
>
> Example :
> if(
> ($_GET["id"]==1) or
> ($_GET["mode"]=="home") or
> ((!isset($_GET["item"])) &&
2 matches
Mail list logo