Purchase
a product key for [insert_php] $fullPrice = “25”; $discountPrice = “25”; if ($_POST[“couponCode”] == “BEATSKILLZ”) $discountPrice = “15”; if ($_POST[“couponCode”] == “50 OFF”) $discountPrice = “15”; if ($_POST[“couponCode”] == “TRACK SPARK”) $discountPrice = “15”; if ($_POST[“couponCode”] == “STUDY MUSIC”) $discountPrice = “10”; if ($discountPrice != $fullPrice) { echo ‘\$’.$fullPrice.’ ‘; echo ‘\$’.$discountPrice.’‘; } else echo ‘\$’.$fullPrice.’‘; [/insert_php]
a product key for [insert_php] $fullPrice = “25”; $discountPrice = “25”; if ($_POST[“couponCode”] == “BEATSKILLZ”) $discountPrice = “15”; if ($_POST[“couponCode”] == “50 OFF”) $discountPrice = “15”; if ($_POST[“couponCode”] == “TRACK SPARK”) $discountPrice = “15”; if ($_POST[“couponCode”] == “STUDY MUSIC”) $discountPrice = “10”; if ($discountPrice != $fullPrice) { echo ‘\$’.$fullPrice.’ ‘; echo ‘\$’.$discountPrice.’‘; } else echo ‘\$’.$fullPrice.’‘; [/insert_php]