Reply to Re: multiple checkboxes

Your name:

Reply:


Posted by kenoli on 12/05/06 08:08

Yes. If you knew where you wanted to insert a group name, you could
stop the foreach at each insertion point and add the proper html text
as you want to format it.

larry@portcommodore.com wrote:
> kenoli wrote:
> > For storing the data, I use a linking table. Thus I have a lookup
> > table that has the names of my checkboxes in one column, with another
> > column with unique IDs for each checkbox name. Then I have a linking
> > table where I have one column for CHECKBOX IDs and the other for PERSON
> > IDs (assuming you are associating the checkbox names with people).
> > Thus if a person were identified with 6 different checkboxes, there
> > would be 6 PERSON ID rows in the linking table associated with each
> > CHECKBOX ID associated with the appropriate checkbox name.
> >
>
> I see where you are going with it, that's prety slick.
>
> One of the benefits of the arrays concept is you can group the
> checkboxes, but I gureess in the checkbox table you could put a
> groupname there too.

[Back to original 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

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