Hi,
I have a very large form and its anoying to get each form name seperatly and insert them into the database, as you could imagine the sql insert statement will be huge. Is there a way i could 'foreach' the post variables and insert them into the database without using the names from the fields.
I mean that could i for example insert into the first field in the table and then the second and so on?
i.e.
foreach ($post as $key => $val){
INSERT INTO blabla SET (the first field) to $postvar
}