On Sun, Nov 8, 2009 at 9:52 PM, Brian Hazelton wrote:
> 'no') { echo "checked="checked"; } ?> value="PFDs"
> name=f_sequipment1>PFDs
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Adam Randall
http://www.xaren.net
AIM: b
value="PFDs"
name=f_sequipment1>PFDs
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
on 11/08/2009 11:39 PM Ernie Kemp said the following:
> Need some help here with checkboxes in an html form.
>
>
>
> My issue is I have a form that needs to be viewed with checkboxes filled
> in depending on the values in the table.
>
>
>
> I tried:
>
> 'no') { echo "checked=yes";
Try the readonly flag
Haven't tried it, no guarantees...
"Shaun" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> is it possible to have a checkbox that if it is specified to be checked
when
> the page is being formulated then it cannot be unchecked?
>
>
--
PHP General
This will work:
http://www.php.net/array_merge
Call your checkboxes like so:
a.php
==
==
then post it to the desired page and do something like
if you can't use [] for the checkbox, the only way out is to have unique
name for each checkbox.
otherwise, php will always be returning the value of the last checked
checkbox if all checkboxes share the same name without the [].
--lance
Alex Shi wrote:
> How to ontain data from a group of ch
Why cant you use square brackets??
call all your checkboxes the following:
interesting_area[]
Then post it to whatever page, now all the checkboxes that were checked are
held in a array (interesting_area)
To see what is contained in the array, do the following:
";
print_r($_PO
Why you can't use square brackets?
"Alex Shi" <[EMAIL PROTECTED]> escribió en el mensaje
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How to ontain data from a group of checkbox using same name?
> For example, in a form there're 6 checkboxes and all named as
> "Interesting_Area". I know if put a
8 matches
Mail list logo