Re: [PHP] indexes and arrays

2007-06-05 Thread Richard Lynch
On Tue, June 5, 2007 10:01 am, blueboy wrote: >I have an array of facilities, how do I define them all in one go > so I do > not get the undefined index error? > > http://php.net/isset You also could make an array of checkboxes instead of hand-typing all that... $facilities = array(5=>'Cre

Re: [PHP] indexes and arrays

2007-06-05 Thread Jim Lucas
>Towels -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Unknown -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] indexes and arrays

2007-06-05 Thread blueboy
I have an array of facilities, how do I define them all in one go so I do not get the undefined index error? input name="facilities[5] " type="checkbox" id="facilities[5] " value="Credit Cards Accepted" > Credit Cards Accepted > Towels > Luggage Storage > -