Re: Wanting to better understand
| From: | Paul Nicholson | Date: | Wed, 02 Oct 2002 03:29:14 +0000 |
| Subject: | Re: Wanting to better understand | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118518@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
yeah, I know...duh! *yawn* long nite...I'll see y'all in the morn. :)
~Paul
On Tuesday 01 October 2002 11:22 pm, Chris Shiflett wrote:
> Paul Nicholson wrote:
> >If ($days > 30) {
> > $days = "<strong><font color='ff0000'>" . $days .
> > "</font></strong>";
> >}elseif ($days > 45) {
> > $days = "<strong><font color='ff00ff'>" . $days .
> > "</font></strong>";
> >}
>
> Just a side note - the elseif when used like this is superfluous.
>
> If $days is not greater than 30, then it must be 30 or less. Thus, it
> will never be greater than 45.
- --
~Paul Nicholson
Design Specialist @ WebPower Design
"The web....the way you want it!"
paul@webpowerdesign.net
"It said uses Windows 98 or better, so I loaded Linux!"
Registered Linux User #183202 using Register Linux System # 81891
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9mmgNDyXNIUN3+UQRAhrdAJ0bXw015Qm8hVR6ZMZqq4YheOQoDwCeMwEC
DiITc88LjDqHEKKLX05eyLQ=
=2CnR
-----END PGP SIGNATURE-----