Hello,

I have a PHP page that gets product records from a database and layout the
records on a form table. The PHP page look like this:

ProductName ProductDescription Qty
product-1 <description> [user input]
Add to basket
product-2 <description> [user input]
Add to basket
product-3 <description> [user input]
Add to basket
......

Everything is from the database, except for the 'Qty' and 'Add to basket'.
'Qty' is a user input, and 'Add to basket' is link to a javascript method when
it is clicked.

My problems are:
1. How can I pass the 'Qty' value from the PHP page to the javascript method?
2. How can I associate/identify the 'Qty' value to each product?

I appreciate any help or suggestion. Thanks in advance.

Pw