Phil, I added a line to your solution.
repeat with i = 1 to 40 put "Q" & i into tKey put the value of tKey into tKey --- ADDED LINE HERE put $_POST[tKey] & comma after theSubmission end repeat Mike _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution