This is a script i was working on and could not work out the problem.
Basically its simply a quote form of sorts. But works fine in FF but not in IE8?
Now i have taken away all the html crap and posted only the code as i think this is where the problem lies. Well im sure of it actually.
Simple enough.
Now for the processing part.
Once again no big deal. Just processing a quote and echoing the result.
Now what i tried to do next is once the form had been processed it produced not only the above result but also a couple of buttons to further navigate. This is where the issue is.
Now please dont bash me on this thread. I am the first to say i know bugger all about php and my code is messy..
EDIT
Sorry i should add. The problem was the buttons would show up but not do anything in IE8 but in FF they work fine.
Basically its simply a quote form of sorts. But works fine in FF but not in IE8?
Now i have taken away all the html crap and posted only the code as i think this is where the problem lies. Well im sure of it actually.
PHP Code:
<?php
$Colors = $_POST[Colors];
$quantity = $_POST[quantity];
$size = $_POST[size];
?>
Now for the processing part.
PHP Code:
<?php
/* 1 col A6 */
if ($quantity == "100" && $Colors == "1col" && $size == "a6") {echo "$231.00";}
if ($quantity == "250" && $Colors == "1col" && $size == "a6") {echo "$253.00";}
if ($quantity == "500" && $Colors == "1col" && $size == "a6") {echo "$550.00";}
if ($quantity == "1000" && $Colors == "1col" && $size == "a6") {echo "$792.00";}
if ($quantity == "2500" && $Colors == "1col" && $size == "a6") {echo "$1892.00";}
/* 2 col A6 */
if ($quantity == "100") if ($Colors == "2col") if ($size == "a6") {echo "$319.00";}
if ($quantity == "250") if ($Colors == "2col") if ($size == "a6") {echo "$352.00";}
if ($quantity == "500") if ($Colors == "2col") if ($size == "a6") {echo "$682.00";}
if ($quantity == "1000") if ($Colors == "2col") if ($size == "a6") {echo "$913.00";}
if ($quantity == "2500") if ($Colors == "2col") if ($size == "a6") {echo "$2178.00";}
/* 3 col A6 */
if ($quantity == "100") if ($Colors == "3col") if ($size == "a6") {echo "$330.00";}
if ($quantity == "250") if ($Colors == "3col") if ($size == "a6") {echo "$418.00";}
if ($quantity == "500") if ($Colors == "3col") if ($size == "a6") {echo "$792.00";}
if ($quantity == "1000") if ($Colors == "3col") if ($size == "a6") {echo "$1023.00";}
if ($quantity == "2500") if ($Colors == "3col") if ($size == "a6") {echo "$2277.00";}
/* 4 col A6 */
if ($quantity == "100") if ($Colors == "4col") if ($size == "a6") {echo "$352.00";}
if ($quantity == "250") if ($Colors == "4col") if ($size == "a6") {echo "$572.00";}
if ($quantity == "500") if ($Colors == "4col") if ($size == "a6") {echo "$847.00";}
if ($quantity == "1000") if ($Colors == "4col") if ($size == "a6") {echo "$1089.00";}
if ($quantity == "2500") if ($Colors == "4col") if ($size == "a6") {echo "$2365.00";}
/* 1 col A5 */
if ($quantity == "100") if ($Colors == "1col") if ($size == "a5") {echo "$308.00";}
if ($quantity == "250") if ($Colors == "1col") if ($size == "a5") {echo "$550.00";}
if ($quantity == "500") if ($Colors == "1col") if ($size == "a5") {echo "$759.00";}
if ($quantity == "1000") if ($Colors == "1col") if ($size == "a5") {echo "$1100.00";}
if ($quantity == "2500") if ($Colors == "1col") if ($size == "a5") {echo "$2629.00";}
/* 2 col A5 */
if ($quantity == "100") if ($Colors == "2col") if ($size == "a5") {echo "$363.00";}
if ($quantity == "250") if ($Colors == "2col") if ($size == "a5") {echo "$704.00";}
if ($quantity == "500") if ($Colors == "2col") if ($size == "a5") {echo "$946.00";}
if ($quantity == "1000") if ($Colors == "2col") if ($size == "a5") {echo "$1375.00";}
if ($quantity == "2500") if ($Colors == "2col") if ($size == "a5") {echo "$2860.00";}
/* 3 col A5 */
if ($quantity == "100") if ($Colors == "3col") if ($size == "a5") {echo "$396.00";}
if ($quantity == "250") if ($Colors == "3col") if ($size == "a5") {echo "$726.00";}
if ($quantity == "500") if ($Colors == "3col") if ($size == "a5") {echo "$968.00";}
if ($quantity == "1000") if ($Colors == "3col") if ($size == "a5") {echo "$1419.00";}
if ($quantity == "2500") if ($Colors == "3col") if ($size == "a5") {echo "$3245.00";}
/* 4 col A5 */
if ($quantity == "100") if ($Colors == "4col") if ($size == "a5") {echo "$439.00";}
if ($quantity == "250") if ($Colors == "4col") if ($size == "a5") {echo "$759.00";}
if ($quantity == "500") if ($Colors == "4col") if ($size == "a5") {echo "$1023.00";}
if ($quantity == "1000") if ($Colors == "4col") if ($size == "a5") {echo "$1485.00";}
if ($quantity == "2500") if ($Colors == "4col") if ($size == "a5") {echo "$3630.00";}
/* 1 col A4 */
if ($quantity == "100") if ($Colors == "1col") if ($size == "a4") {echo "$429.00";}
if ($quantity == "250") if ($Colors == "1col") if ($size == "a4") {echo "$737.00";}
if ($quantity == "500") if ($Colors == "1col") if ($size == "a4") {echo "$1122.00";}
if ($quantity == "1000") if ($Colors == "1col") if ($size == "a4") {echo "$1936.00";}
if ($quantity == "2500") if ($Colors == "1col") if ($size == "a4") {echo "$4290.00";}
/* 2 col A4 */
if ($quantity == "100") if ($Colors == "2col") if ($size == "a4") {echo "$495.00";}
if ($quantity == "250") if ($Colors == "2col") if ($size == "a4") {echo "$968.00";}
if ($quantity == "500") if ($Colors == "2col") if ($size == "a4") {echo "$1309.00";}
if ($quantity == "1000") if ($Colors == "2col") if ($size == "a4") {echo "$2145.00";}
if ($quantity == "2500") if ($Colors == "2col") if ($size == "a4") {echo "$4455.00";}
/* 3 col A4 */
if ($quantity == "100") if ($Colors == "3col") if ($size == "a4") {echo "$539.00";}
if ($quantity == "250") if ($Colors == "3col") if ($size == "a4") {echo "$1275.00";}
if ($quantity == "500") if ($Colors == "3col") if ($size == "a4") {echo "$1353.00";}
if ($quantity == "1000") if ($Colors == "3col") if ($size == "a4") {echo "$2497.00";}
if ($quantity == "2500") if ($Colors == "3col") if ($size == "a4") {echo "$4884.00";}
/* 4 col A4 */
if ($quantity == "100") if ($Colors == "4col") if ($size == "a4") {echo "$561.00";}
if ($quantity == "250") if ($Colors == "4col") if ($size == "a4") {echo "$1056.00";}
if ($quantity == "500") if ($Colors == "4col") if ($size == "a4") {echo "$1430.00";}
if ($quantity == "1000") if ($Colors == "4col") if ($size == "a4") {echo "$2600.00";}
if ($quantity == "2500") if ($Colors == "4col") if ($size == "a4") {echo "$5280.00";}
?>
Once again no big deal. Just processing a quote and echoing the result.
Now what i tried to do next is once the form had been processed it produced not only the above result but also a couple of buttons to further navigate. This is where the issue is.
PHP Code:
if ($size == "a4") echo "<a href='processor1.php'><input type='button' action='/' name='Process Order' id='Process' value='Back'></a>";
if ($size == "a5") echo "<a href='processor1.php'><input type='button' action='/' name='Process Order' id='Process' value='Back'></a>";
if ($size == "a6") echo "<a href='processor1.php'><input type='button' action='/' name='Process Order' id='Process' value='Back'></a>";
if ($size == "a4") echo "<a href='processor.php'><input type='button' action='processor.php' name='Process Order' id='Process' value='Process Order'></a>";
if ($size == "a5") echo "<a href='processor.php'><input type='button' action='processor.php' name='Process Order' id='Process' value='Process Order'></a>";
if ($size == "a6") echo "<a href='processor.php'><input type='button' action='processor.php' name='Process Order' id='Process' value='Process Order'></a>";
Now please dont bash me on this thread. I am the first to say i know bugger all about php and my code is messy..
EDIT
Sorry i should add. The problem was the buttons would show up but not do anything in IE8 but in FF they work fine.