Form help…

You know sometimes you have a big form on a page and you want to save all the details into the database/file using a receiving page? It’s a pain to go through and check you’ve got every variable sent from the form in the receiving page. Well, no more!

for each itemname in request.Form
response.write itemname & ” = request.form(“”” & itemname & “””)

next
response.end
%>

Just paste that ASP/VBScript code snippet into the top of the receiving page and it will show all the form variables in a neat list in the browser, ready for copying and pasting into the source code. Just modify it to get the GET variables, or add a function (such as protectDB() or something).

It just saved me 10+ minutes of painful copying and pasting :0)