Re: [PHP] Re: passing values of checkboxes in PHP

2004-05-17 Thread Marek Kilimajer
John Taylor-Johnston wrote: Or give all name="protid[]" and you will get array $_POST['protid'] that you can loop over. Do it like this or you will have the same problem. name="protid[0]" name="protid[1]" name="protid[2]" Not true. -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] Re: passing values of checkboxes in PHP

2004-05-17 Thread John Taylor-Johnston
> > > > > > > > > > > > Or give all name="protid[]" and you will get array $_POST['protid'] that > you can loop over. Do it like this or you will have the same problem. name="protid[0]" name="protid[1]" name="protid[2]" -- John -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] Re: passing values of checkboxes in PHP

2004-05-17 Thread Marek Kilimajer
John Taylor-Johnston wrote: Gowthaman, Just at a glance, it seems that you Should Only receive One value. 'Name=protid' tells me that you have only created one value. Because they ALL have the SAME name="protid" there will be only one value. This would be more evident if they were type=radiobox. W

[PHP] Re: passing values of checkboxes in PHP- solved

2004-05-17 Thread John Taylor-Johnston
>sorry for the trouble .. Nah! :) Gowthaman Ramasamy wrote: > I myself solved the problem. > sorry for the trouble .. > > sincerely, > gowtham > On Mon, 2004-05-17 at 11:51, gowthaman ramasamy wrote: > > hi list, > > I have a problem with getting the values of check boxes ... > > > > In the form

[PHP] Re: passing values of checkboxes in PHP

2004-05-16 Thread John Taylor-Johnston
Gowthaman, Just at a glance, it seems that you Should Only receive One value. 'Name=protid' tells me that you have only created one value. Because they ALL have the SAME name="protid" there will be only one value. This would be more evident if they were type=radiobox. What you need is to gene