Form information

From: Date: Wed, 25 May 2005 04:53:59 +0000
Subject: Form information
Groups: php.db 
Request: Send a blank email to php-db+get-39536@lists.php.net to get a copy of this message
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

« previous php.db (#39536) next »