here is that code I talked about
";
} else {
echo "";
echo "";
echo $alphabet[($i / $rowCount)];
echo "";
echo "";
}
if(in_array($val, $taken)) {
echo "{$val}";
} else {
echo " {$val}";
}
if($i % $rowCount + 1)
echo "";
else
echo "";
}
echo
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" <[EMAIL
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
3 matches
Mail list logo