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


Groups > comp.lang.php > #10529

Re: AND and OR

From Twayne <nobody@spamcop.net>
Newsgroups comp.lang.php
Subject Re: AND and OR
Date 2013-08-16 12:14 -0400
Organization Aioe.org NNTP Server
Message-ID <kulj5m$nn5$1@speranza.aioe.org> (permalink)
References <kujr9n$il7$1@speranza.aioe.org> <qisq095ngsubpq993rcsms7ur3phdlqbnl@news.eternal-september.org>

Show all headers | View raw


On 2013-08-15 8:30 PM, Paul Herber wrote:
> On Thu, 15 Aug 2013 20:21:09 -0400, Twayne <nobody@spamcop.net> 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))
>> {
>> code; notify user of errors that must be corrected.
>> }
>
> RTM, the syntax is clear.
>
> http://php.net/manual/en/control-structures.if.php
>
>
>

No, it's not clear at all. The only reference to my query is a few lines 
in a 2-year old post and it's not definitve. I've not only read that 
before, but have it on disc.

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