But as this is for a quote form i need to be able to use the results of the form not only to echo the result but i hope to be able to get this info input into another form and hopefully the whole result of the form. What i mean is the form selections also so when they order i receive something to the effect of quantity=X Colors=x size=x and the actual echoed price?
The reason is i have a quote page i am making where the customer can get a free quote. Now if there happy with the quote then they move onto the actual order which is why i want to be able to retreive this info.
I have tried breifly the _session but only seemed to output my arrays not the results in them.
Im sure no one wants to see the code but just in case i will post a little of it.
Code: Select all
<?php
$Colors = $_POST[Colors];
$quantity = $_POST[quantity];
$size = $_POST[size];
?>
<?php if ($quantity == "100") if ($Colors == "1col") if ($size == "a6") echo "$231.00"?>
<?php if ($quantity == "250") if ($Colors == "1col") if ($size == "a6") echo "$253.00"?>
<?php if ($quantity == "500") if ($Colors == "1col") if ($size == "a6") echo "$550.00"?>
<?php if ($quantity == "1000") if ($Colors == "1col") if ($size == "a6") echo "$792.00"?>
<?php if ($quantity == "2500") if ($Colors == "1col") if ($size == "a6") echo "$1892.00"?>