12-05-2012, 05:02 AM PM User | #6 sweetpeet New to the CF scene   Join Date: Dec 2012 Posts: 6 Thanks: 1 Thanked 0 Times in 0 Posts pk I have determined that it is this for statement that I have. for some reason it worked yesterday but is not working now. is there a better way to state this?: 0): echo \$quantity1 . " " . \$Biscuit . " with " . \$Add_on1 . "
"; endif; ?>
0; \$Biscuit = true; ){ if(\$Add_on1 === "plain only-\$0.95"): \$P1 = "0.95"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "plain with egg & cheese - \$1.25"): \$P1 = "1.25"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Ham only - \$1.50"): \$P1 = "1.50"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Ham with egg - \$1.75"): \$P1 = "1.75"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Ham with cheese - \$1.75"): \$P1 = "1.75"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Ham with egg - \$1.75"): \$P1 = "1.75"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Ham with egg & cheese - \$2.00"): \$P1 = "2.00"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Susage only - \$1.50"): \$P1 = "1.50"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Sausage with egg - \$1.75"): \$P1 = "1.75"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Sausage with cheese"): \$P1 = "1.75"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Sausage with egg & cheese - \$2.00"): \$P1 = "2.00"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Bacon only - \$1.50"): \$P1 = "1.50"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Bacon with egg - \$1.75"): \$P1 = "1.75"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Bacon with cheese - \$1.75"): \$P1 = "1.75"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Bacon with egg & cheese - \$2.00"): \$P1 = "2.00"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Steak only - \$2.00"): \$P1 = "2.00"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Steak with cheese - \$2.15"): \$P1 = "2.15"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Steak with egg - \$2.15"): \$P1 = "2.15"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Steak with cheese & egg - \$2.50"): \$P1 = "2.50"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Chicken only - \$2.00"): \$P1 = "2.00"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Chicken with cheese - \$2.15"): \$P1 = "1.75"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Chicken with egg - \$2.15"): \$P1 = "2.15"; echo "\$" . \$P1 * \$quantity1 . "
"; elseif(\$Add_on1 === "Chicken with egg & cheese - \$2.50"): \$P1 = "2.50"; echo "\$" . \$P1 * \$quantity1 . "