Re: if seat is sold
| From: | Jim Lucas | Date: | Tue, 26 Aug 2003 15:17:44 +0000 |
| Subject: | Re: if seat is sold | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-160776@lists.php.net to get a copy of this message | ||
on a side note, you realize that you could loose all all of the while loops
and replace them with two or three nested foreach() loops?
Build yourself one big array and loop through it.
If you need any advice, drop me a note.
Jim Lucas
----- Original Message -----
From: "Jay Fitzgerald" <jayfitz@bayou.com>
To: <php-general@lists.php.net>
Sent: Monday, August 25, 2003 6:23 PM
Subject: [PHP] if seat is sold
> 1. here is my code:
> http://codedump.phpfreaks.com/viewcode.php?id=1162
> 2. here is a screenie of my seating chart:
http://www.bayou.com/jay/chart.gif
>
> 3. what i am wanting to do is using CSS i want to "strike-through" the
> seats that are in the db - else, I want them to display normally
>
> note: the seat numbers are not in the db unless someone chooses that
> seat....they are a while loop of numbers 1 through 240....
>
> Anyone got any ideas?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>