krappleby025
Programmer
Hi all, here is a realy strange one for you..
i have a form that sends the variable $hosttype1 to this script.. However..
if i send the number 3, the script returns Platinum
if i send the number 4, the script returns gold
its strange to me, any ideas
The form is a simple drop down menu that allocates a number accordign the the chosen plan.
the plans are
HOST PACK BRONZE 1
HOST PACK SILVER 2
HOST PACK GOLD 3
HOST PACK PLATINUM 4
Here is the codeing for the response.
if ( $hosttype1 != "1"
{
$hostcost = "19.95";
$hosttype2 = "Bronze";
}
if ( $hosttype1 != "2"
{
$hostcost = "24.95";
$hosttype2 = "Silver";
}
if ( $hosttype1 != "3"
{
$hostcost = "29.95";
$hosttype2 = "Gold";
}
if ( $hosttype1 != "4"
{
$hostcost = "34.95";
$hosttype2 = "Platinum";
}
i have a form that sends the variable $hosttype1 to this script.. However..
if i send the number 3, the script returns Platinum
if i send the number 4, the script returns gold
its strange to me, any ideas
The form is a simple drop down menu that allocates a number accordign the the chosen plan.
the plans are
HOST PACK BRONZE 1
HOST PACK SILVER 2
HOST PACK GOLD 3
HOST PACK PLATINUM 4
Here is the codeing for the response.
if ( $hosttype1 != "1"

{
$hostcost = "19.95";
$hosttype2 = "Bronze";
}
if ( $hosttype1 != "2"

{
$hostcost = "24.95";
$hosttype2 = "Silver";
}
if ( $hosttype1 != "3"

{
$hostcost = "29.95";
$hosttype2 = "Gold";
}
if ( $hosttype1 != "4"

{
$hostcost = "34.95";
$hosttype2 = "Platinum";
}