Re: Help with PHP processing form checkboxes needed :-(

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



1. every time the form is submitted.. generate the list of all the
check boxes which are checked and overwrite the previous value in the
database.

2. get the list of all entries from the database see if the
corresponding check box is checked.. if so leave it as it is, if not
remove it...

this depends much on the database implementation. obviously this is a
one to many relationship.
if i use a single field with coma separated values i prefer the former
if i use a different table to store the relationships(one relation per
row) i prefer the later.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux