Hi!
I have a problem that I could use a little help on...
I have a form in which the user can enter data and submit it for storage in a database.
The values that are submitted by the form are sent to a php file to handle this. The data looks like this:
p1=32.50
p2=11.40
p3=100.36
p4=1.52
So=, the value is always preceded by Px. X can be a value from 1 to whatever number of values are submitted through the form.
Once the form is submitted the data is passed through the url like this:
http://www.my.server.com/handle_form.php?p1=32.50&p2=11.40&p3=100.36.... and so on
The script that is to handle these values and store them in the database has to put these values in an array and store in in one database field.
My question is how do I determine how many values are submitted through the form and put all of them in the array?
Thanks!