Help required for a stupid newboy Please.........
I have a simple shopping cart and wish to email selected products and quantities.
I can create two arrays with product and quantity but how can i get these to print next to each other in the email.
At the moment I have one array with product and one with quantity..all i can get so far is the list of products followed by the quantity list after...i want them to appear side by side...
Is there an easy way of doing this....
foreach ($Product as $key => $value)
{
$list .= "$value: \n";
}
foreach ($quantity as $key => $value)
{
$list2 .= "$value: \n";
}
This is what i have at present but obviously i want product[0] to appear next to quantity[0]..
HELP