Reply to Re: multiple checkboxes

Your name:

Reply:


Posted by Tom on 12/04/06 01:26

On Sun, 3 Dec 2006 13:10:30 +0100, 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 ?
>
>
>

As long as the <input type=checkbox....> tags are within your form tags, it's
really up to you how you want that to appear. You can break them up into 2 or 3
column rows maybe.

If you want to pre-check selected boxes, you can use PHP to determine whatever
condition you created, and add a string of text like " checked" to your selected
input tag. This can apply to whether you had i check box or several hundred, so
quantity shouldn't be a factor.

Tom
--
Basic Newsguy / 12-months / $39.95
http://www.newsguy.com/overview.htm

[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

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