Thanks much for the quick reply. I am kind of an Excel nut, but . . .
Actually, I have a separate table for each category (topic) and then a table with the questions that is joined to the answer table . The answer table for each topic has a row for each user and a column (TINYINT, most answers are rating things 1 to 10)) for each answer (100+). I use one big table for the answers for each topic because I use Dreamweaver CS4 to build a series of tabbed panels for each topic. Each subtopic will have a tab in the tabbed panels with a table containing a column for questions, column for their answer (mostly radio buttons), and a column for which group they want to compare their answers to (30-40 year old, white, married, females of medium income). I query the answe table to get a resultset (each topic), (using GROUP BY by age, gender, ethnicity, etc.), using WITH ROLLUP options that give a lot of neat comparisons.
I can do this with one select for the user and one for the group they want to compare themselves with in the resultset.
If I have a 100+ answers spread across the tabbed panels tables, all from one row, assigned to an associative array to fill the tables in the tabbed panel. I need to update the answer table. Is a JavaScript routine to build the SQL Update SET parameters of fieldnames=values still my best bet?
I probably need to hire a real programmer.