I am building an HTML table dynamically which includes check boxes for each table row, including a product description from a database.
I want to pass on the user's check box selections to the next PHP script, but can't get the syntax right.
If I do something like this:
echo "<TD><INPUT TYPE = \"checkbox\" NAME = \"chkProduct\" VALUE = "$ProductName\"></TD>";
only the last "chkProduct" variable shows up on the next form (I'm doing a POST).
I know these are passed in $HTTP_POST_VARS but, again, how do I pass all of the check box variables, and then parse them on the next form?