Posted on 2004-10-05
I have a large set of form questions (350) that are divided into 8 forms that are displayed sequentially on one large document (over 32 screens). Yes, I know it would be "easier" to make this one form. That is not the question or the issue.
The problem I am having, as others before, is how to pass the simple JS showformTotal array to a php results page and to the mySQL database at the same time. That is the essential, but daunting, question.
I can either write (insert or update) the results to a mySQL table, reference the current row number and pass an ID variable to the results page for a "lookup." Or I can pass the showformTotal array from the forms document to the results page. It is the specific coding of a showPHPtotal PHP-based array variables that is confusing.
Help greatly appreciated.