[PHP-DB] Re: looped insert

2001-10-23 Thread bill
Hi Russ, It's not clear that you're keeping track of which categories are being checked. You name them category[$names] but you refer to them as $category[$i] where $i is a number. How will you know what $category[1] refers to? Other issues: It's also not clear where the value of $email

[PHP-DB] Re: looped insert

2001-10-23 Thread Russ Michell
Relax! $email comes from a text input, and the categories come from checkboxes dynamically displayed from table column names: //Get all table column names, dynamically display, and use to accept subscriptions to category updates: $fields = mysql_list_fields($dbName, myanet_categories,