Re: [PHP] long PHP array and HTML forms question

2002-06-06 Thread Steven Jarvis
Jason Wong wrote: Page 2: I want the user to be able to use none, some, or all of the fields, so I don't know how many elements will be in the array. $color[] = $_POST[color]; That should be: $color = $_POST[color]; Actually from your results below it seems like you've enabled

[PHP] long PHP array and HTML forms question

2002-06-05 Thread Steven Jarvis
I'm trying to store an array in a mysql db. I'm creating the array variable through an html form and passing it to the page where I store it in the db. I want to create the array with a form, store it in the db, then display it in another form with a select statement. However, I'm getting

Re: [PHP] long PHP array and HTML forms question

2002-06-05 Thread Jason Wong
On Thursday 06 June 2002 12:03, Steven Jarvis wrote: I'm trying to store an array in a mysql db. I'm creating the array variable through an html form and passing it to the page where I store it in the db. I want to create the array with a form, store it in the db, then display it in another