Re: Returning Rows Question
| From: | Christopher J. Crane | Date: | Wed, 04 Sep 2002 23:12:59 +0000 |
| Subject: | Re: Returning Rows Question | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115247@lists.php.net to get a copy of this message | ||
That's what I thought it meant but I have never seen it writte nthat way.
Thank you very much
----- Original Message -----
From: "Ashley M. Kirchner" <ashley@pcraft.com>
To: "Christopher J. Crane" <ccrane@inxdesign.com>
Cc: "Mike richardson" <merichardson@mdausa.org>; <php-general@lists.php.net>
Sent: Wednesday, September 04, 2002 7:10 PM
Subject: Re: [PHP] Returning Rows Question
> "Christopher J. Crane" wrote:
>
> > > $color = ($color == "FFFFFF")? "EAEAEA" : "FFFFFF";
>
> Break it down:
>
> $color = <whatever> (we don't care right now)
>
> That <whatever> is: ($color == "FFFFFF")? "EAEAEA" :
> "FFFFFF"
>
> And that says: Evaluate the (current) variable $color.
>
> Is it FFFFFF? if so, change it to EAEAEA, otherwise make it FFFFFF
>
> $color == "FFFFFF" ? (yes) change to "EAEAEA" : (no) make it FFFFFF
>
> --
> W | I haven't lost my mind; it's backed up on tape somewhere.
> +--------------------------------------------------------------------
> Ashley M. Kirchner <mailto:ashley@pcraft.com> .
> 303.442.6410 x130
> IT Director / SysAdmin / WebSmith . 800.441.3873 x130
> Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6
> http://www.pcraft.com ..... . . . Boulder, CO
> 80303, U.S.A.
>
>
>
>
>
>