Lyleyboy Posted July 27, 2007 Share Posted July 27, 2007 Hi, I have a project where the users can modify their forms and thus their form field names. Is it possible to simply read what is passed through the headers without knowing the names of the fields. Thanks Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted July 27, 2007 Share Posted July 27, 2007 well you can read the $_POST or $_GET arrays and grab the index of each element. ideally when a users does this you should create a db table with fieldnames identical to the input names they have given (need a bit of management - especially if you let them use check boxes/radio buttons/select boxes/file inputs etc.) but will make you code much more manageable... 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.