Re: [PHP] Re: Checkbox in PHP form

2009-11-10 Thread Adam Randall
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

Re: [PHP] Re: Checkbox in PHP form

2009-11-08 Thread Brian Hazelton
value="PFDs" name=f_sequipment1>PFDs -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Checkbox in PHP form

2009-11-08 Thread Manuel Lemos
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";

[PHP] Re: Checkbox

2003-03-26 Thread Towel Boy
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

[PHP] Re: checkbox question

2002-09-10 Thread Craig Donnelly
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

[PHP] Re: checkbox question

2002-09-10 Thread B.C. Lance
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

[PHP] Re: checkbox question

2002-09-09 Thread Craig Donnelly
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

[PHP] Re: checkbox question

2002-09-08 Thread Rodrigo Dominguez
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