Re: if seat is sold
| From: | Marek Kilimajer | Date: | Tue, 26 Aug 2003 10:21:34 +0000 |
| Subject: | Re: if seat is sold | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-160742@lists.php.net to get a copy of this message | ||
Make an array of sold seats and use in_array() to determine if the seat number should be "strike-through" (and combo box disabled).
Jay Fitzgerald wrote:
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?