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
>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
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
>
-
3 matches
Mail list logo