RE: [PHP] array insert help

2003-03-22 Thread Ernest E Vogelsinger
At 22:24 22.03.2003, Jason Dulberg said: [snip] >Thanks for your help... > >I tried the code as you suggested however when I attempted to echo the >variables for testing but nothing showed. > >for($i = 0; $i <= 1; ++$i) { > echo "address".$_POST['address'][

RE: [PHP] array insert help

2003-03-22 Thread Jason Dulberg
ess']['city'][$i]; } The form fields are as you suggested as well. Thanks again! Jason > -Original Message- > From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED] > Sent: March 22, 2003 4:05 PM > To: Jason Dulberg > Cc: [EMAIL PROTECTED] > S

Re: [PHP] array insert help

2003-03-22 Thread Ernest E Vogelsinger
At 20:59 22.03.2003, Jason Dulberg said: [snip] >My problem is that I'm not sure how to set up the array for the fields and >how to take the input fields and insert them. Do I need a multidimensional >array for this? > >ie. > > > >How would I decode that to c

[PHP] array insert help

2003-03-22 Thread Jason Dulberg
I need to create a form where work/home address details need to be entered. I'd like to have these listed as 2 entries in the mysql db so I'm assuming I need to create an array and loop through the array to do the insert. So I have an address[1] and address[2] for example for a total of 12 add