Re: [PHP] if seat is sold

2003-08-26 Thread Jim Lucas
if($i % $rowCount + 1) echo ""; else echo ""; } echo ""; ?> Give it a run and let me know what you think. Jim Lucas - Original Message - From: "Jay Fitzgerald" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sen

Re: [PHP] if seat is sold

2003-08-26 Thread Jim Lucas
erald" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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 >

Re: [PHP] if seat is sold

2003-08-26 Thread Marek Kilimajer
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/c

[PHP] if seat is sold

2003-08-26 Thread Jay Fitzgerald
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