Thanks to LordShryku I was able to construct this piece of code and it works fine. While i was trying to send the values of $list with a mail() function it appears that only one value is getting sent to the recipient instead of all the values within the $list variable. How comes ?
//building list values
for ($counter=0; $counter<3; $counter++){
if ($quantity[$counter] !=0){
$list = "$quantity[$counter]" . " x $prod[$counter]<br>";
echo "$list";
}
}
//MAILSCRIPT :
mail("zipper@mailaddress.com", "order form website", "$list");
}
//thanks i.a.