how to get multiple form values as variables in PHP?
Posted by SoftDux, 03-06-2010, 01:21 PM Hi, Can someone please help me with this? I have a form, which is dynamically build from a database, as follows: ID ---- Username ------Visit ------ Reason | | | | 12 John
Posted by MammothVPS, 03-06-2010, 07:42 PM You probably want to use an index variable so you can loop through all three arrays at the same time, like: Last edited by MammothVPS; 03-06-2010 at 07:43 PM. Reason: Fix php tag syntax
Posted by SwordfishHostingLtd, 03-07-2010, 12:22 PM It would be useful to see a snippet of html in the form you are submitting to see if the problem lies there or in your php - do you have this you can post?
Posted by SoftDux, 03-07-2010, 05:22 PM I got it, from another forum, here : @SwordfishHostingLtd, the problem wasn't in the HTML form, but purely in my PHP code