gavn8r Posted September 6, 2006 Share Posted September 6, 2006 I want to do this ASP code in PHP. Can anybody help? It captures all data from the form that passes to it and writes out the field names.<%Set FormFields = request.formFor each Field in FormFieldsresponse.write Field & " = " & Request.Form(Field) & "<br>"Next%> Quote Link to comment Share on other sites More sharing options...
Barand Posted September 6, 2006 Share Posted September 6, 2006 [code]<?phpforeach ($_POST as $fld => $val) echo "$fld = $val<br />";?>[/code] Quote Link to comment Share on other sites More sharing options...
gavn8r Posted September 6, 2006 Author Share Posted September 6, 2006 Thank you so much... it worked perfectly! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.