I made an order form that has 3 different variables for each row:
<tr>
<td><b>SupplyNum</b></td>
<td><b>Price</b></td>
<td><b>Quantity</b></td>
</tr>
(Quantity is a text field where they enter the number of items they want. The other 2 are fixed values for each row)
I send the values of each cell for every selected to the next page, which loops through to get all the values, then stores them all in a variable called $emailInfo.
$emailInfo .= "Quantity:".$thisQuantity."SupplyNumber:".$thisNum."Price:".$thisPrice;
My problem is the output of $emailInfo. I want to make it look nice in the email:
Quantity: 4
Supply Num: 3
Price: $40
But the only way I can get all the values to appear, I have to slur it all together with no spaces.
I tried putting \n in the variable but this didn't work.
Any ideas?
Thanks,Scott