Hi I hope somone can just help me bring this to work.
In a web form i added a multiple select option like so:
<select name="product[]" multiple="multiple"
...>
in the php file that sends the info to my email i simply added this:
$product = $_POST['product'];
to the $body i simply added $product
$body = " Name - $ime \n \n \n Business - $business \n \n \n Email Address - $email \n \n \n Print Product(s) - $products.[] \n \n \n Budget - $budget \n \n \n Comment - $comment \n \n \n IP - $ip";
that obviously does not work. i am sure i need to loop in an array but have no idea how to so i added this:
$products = array(
'product1' => 'product1',
'product2' => 'product2',
................
);
what's next? can someone help me PLEASE?