You are here: Re: Checkbox array « PHP Programming Language « IT news, forums, messages
Re: Checkbox array

Posted by Erwin Moller on 03/06/06 13:52

Paul Morrison wrote:

>> All fields that you want to post must be within the SAME <form>...</form>
>> range, any fields outside that range, or fields inside another form are
>> not posted when a form is submitted. Change the code so that you generate
>> just one form, and all your form fields are inside that same form.
>
> How can I enclose all parts of the form? When I first create the table I
> need to open the form tag, but in order to enclose the checkboxes as well
> it therefore needs to close after all the checkboxes have been created. I
> have tried starting the form before I create the table and it doesn't like
> it.
>
> Paul

Kimmo said that you closed the form too early.
So put the </form> after all form-elements, including all checkboxes and
submitbutton.

So solution is simple: move the </form> after the loop and the submitbutton.

Regards,
Erwin Moller

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация