I am passing a value of checkboxes on a form to a new page like this (see example here: http://www.gibsonusa.com/test/check/) In a new page how can I pull the data from a MySQL database according to each value I passed from a previous page? In other words: Assume that the value of a checkbox equal to the ID of the record in a database. The value of checkbox 1 (for example) is 12345 and the value of checkbox2 is 67890. After passing those values to a new page how can I pull the rest of the information from a database?
I would generate a query like:
$sql="SELECT * from MYTABLE where ID in('".implode("','",$checkboxarray)."')";
Then echo the $sql to see how it got built (bad english, sorry)
Biggus