🕸Fergus Duniho wrote on Thu, Mar 30, 2017 06:29 PM UTC:
I'm looking into this now but have to take a break. The lines you commented out were reading values from the database that should have already been entered by the form that called this page as a script. By reading values from the database, it was overwriting the submitted values with the already stored values. This may account for why many user submissions have been blank. The issue I'm working on now is making sure the previous script (membersubmission.php) includes all the relevant variables, so that empty values will not overwrite already stored values in the database.
I'm looking into this now but have to take a break. The lines you commented out were reading values from the database that should have already been entered by the form that called this page as a script. By reading values from the database, it was overwriting the submitted values with the already stored values. This may account for why many user submissions have been blank. The issue I'm working on now is making sure the previous script (membersubmission.php) includes all the relevant variables, so that empty values will not overwrite already stored values in the database.