Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #10517

Re: AND and OR

From "Peter H. Coffin" <hellsop@ninehells.com>
Newsgroups comp.lang.php
Subject Re: AND and OR
Date 2013-08-15 20:08 -0500
Organization A noiseless patient Spider
Message-ID <slrnl0qut3.mfn.hellsop@nibelheim.ninehells.com> (permalink)
References <kujr9n$il7$1@speranza.aioe.org>

Show all headers | View raw


On Thu, 15 Aug 2013 20:21:09 -0400, Twayne wrote:
>   Hi,
>
> Doing code cleanup; something that seemed so simple is giving me lots of 
> trouble for whatever reason.
>
> Win 7,  XAMPP, PHP 5.3, online forms:
>
> In my cleanup efforts I've been trying to concatenate statements for 
> things like the following:
>
> IF(strlen(var1) == 0) OR strlen(var2) == 0) OR strlen(var3) ==0))
    1      2    1     0          1    0     *          1    0    **
> {
> code; notify user of errors that must be corrected.
> }
>


-- 
40. I will be neither chivalrous nor sporting. If I have an unstoppable 
    superweapon, I will use it as early and as often as possible instead
    of keeping it in reserve.
	--Peter Anspach's list of things to do as an Evil Overlord

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

AND and OR Twayne <nobody@spamcop.net> - 2013-08-15 20:21 -0400
  Re: AND and OR Paul Herber <paul@pherber.com> - 2013-08-16 01:30 +0100
    Re: AND and OR Christoph Michael Becker <cmbecker69@arcor.de> - 2013-08-16 13:08 +0200
    Re: AND and OR Twayne <nobody@spamcop.net> - 2013-08-16 12:14 -0400
  Re: AND and OR "Peter H. Coffin" <hellsop@ninehells.com> - 2013-08-15 20:08 -0500
  Re: AND and OR Tim Streater <timstreater@greenbee.net> - 2013-08-16 08:52 +0100
    Re: AND and OR Twayne <nobody@spamcop.net> - 2013-08-16 11:19 -0400
  Re: AND and OR The Natural Philosopher <tnp@invalid.invalid> - 2013-08-16 11:25 +0100
    Re: AND and OR Norman Peelman <npeelman@cfl.rr.com> - 2013-08-16 06:48 -0400
      Re: AND and OR The Natural Philosopher <tnp@invalid.invalid> - 2013-08-16 12:24 +0100
        Re: AND and OR Twayne <nobody@spamcop.net> - 2013-08-16 12:10 -0400
          Re: AND and OR The Natural Philosopher <tnp@invalid.invalid> - 2013-08-16 17:35 +0100
            Re: AND and OR Tim Streater <timstreater@greenbee.net> - 2013-08-16 17:47 +0100
              Re: AND and OR The Natural Philosopher <tnp@invalid.invalid> - 2013-08-16 18:13 +0100
                Re: AND and OR Richard Yates <richard@yatesguitar.com> - 2013-08-17 07:20 -0700
                Re: AND and OR The Natural Philosopher <tnp@invalid.invalid> - 2013-08-17 15:36 +0100
                Re: AND and OR Richard Yates <richard@yatesguitar.com> - 2013-08-17 10:47 -0700
                Re: AND and OR Twayne <nobody@spamcop.net> - 2013-08-17 14:05 -0400
                Re: AND and OR The Natural Philosopher <tnp@invalid.invalid> - 2013-08-17 19:40 +0100
              Re: AND and OR Twayne <nobody@spamcop.net> - 2013-08-17 13:27 -0400
            Re: AND and OR Twayne <nobody@spamcop.net> - 2013-08-17 13:22 -0400
          Re: AND and OR Richard Yates <richard@yatesguitar.com> - 2013-08-17 07:19 -0700
      Re: AND and OR Twayne <nobody@spamcop.net> - 2013-08-16 11:53 -0400
    Re: AND and OR Twayne <nobody@spamcop.net> - 2013-08-16 11:42 -0400

csiph-web