Form information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there everyone,

 

I'm pulling data from my MySQL DB with PHP 4.2, and I have a quantity box
for multiple items, what I'm not sure of is this:

 

Say there are 8 products and they choose 3 by entering a quantity into each
box, I can display that no problem BUT how can I capture the ID of each
product at the same time for each quantity?  This is really an important
thing for me to have to do, so I can associate each quantity with the
product id.

 

BTW, I use quantity[] as the name in the form, so it's an array, I just need
to know how to add an extra item called productid to it so I can carry that
info over too :-)

 

Thank you for your help, it's driving me nuts.

 

Chris


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux