You are here: Re: multiple checkboxes « All PHP « IT news, forums, messages
Re: multiple checkboxes

Posted by larry on 12/04/06 14:47

Gaga wrote:
> 1.) what is the best way to store multiple checkboxes into table. (e.g. if
> you 20 checkboxes there is no reason to make 20 table fields ? )
>
> 2.) How to pull this stored checkbox data so i can display which checkboxes
> are checked and which not ?

This is what I had come up with, using arrays when in the script and
varchar in the DB, you get all the related boxes into one field, and
have human readable represntation of the contents.

Here's the linik:

http://www.portcommodore.com/quickpage.php?id=mixed+selection+lists

(this page is a work in progress, sorry for any errors)

Larry

 

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

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