Page 1 of 1

Array Question

Posted: Tue Oct 13, 2009 7:26 am
by gotornot
I am creating a form that generates fields dynamically on the fly as per database requirements.
When i submit the form the field names are generated by the database name for the option they are.

How do i collect them the other end and insert them into a db?

I can add a $vale = $_REQUEST[''];for each one as there will be lots of combinations

Is there any quick way of grabbing passed over data and spliting it up?

Re: Array Question

Posted: Tue Oct 13, 2009 8:11 am
by papa
Usings forms you have global vars called:

$_GET and $_POST

Try for example: print_r($_POST) or get depending on what you use on the page your form submits to.