Hi,
I am creating a search engine that returns values in a compact format. Each one should have a checkbox, allowing the user to check the ones s/he is interested in, and then use SUBMIT and get a page in return that has all details for each checked product.
The products are identified like this
checkbox name=productid value=unique_value
values are different but checkbox "name" is the same for all of them.
Im trying to capture the output of all unique_values to a variable that holds a comma seperated list of all selected items.
example
$selected_products =(prod1,prod4,prod8,prod6)
I want to use the $selected_products in the
SQL SELECT like this ... WHERE productid IN ($selected_products)
Any help'd be greatly appreciated.