Now a new problem arises. I am trying to make a variable changeable depending on the users selection so that if their post count does not meet the requirements staff are noted.
Basically I want to make the following
HTML Code:
<if condition="$auinfo[field7] <(is less than) $conditional">
Post count not met
</if>
And obviously there is a else statement on there if they do meet it,
however the code I am using in my PHP file does not display the stuff set when I add $conditional into my template here is the code
PHP Code:
if ($auinfo['field7'] == "I don\'t have a package")
{
$conditional = 0;
} else if ($auinfo['field7'] == "SHARED A")
{
$conditional = 5;
} else if ($auinfo['field7'] == "SHARED B")
{
$conditional = 15;
} else if ($auinfo['field7'] == "SHARED C")
{
$conditional = 20;
} else if ($auinfo['field7'] == "SHARED D")
{
$conditional = 20;
} else if ($auinfo['field7'] == "RESELLER A")
{
$conditional = 25;
}
else if ($auinfo['field7'] == "RESELLER B")
{
$conditional = 75;
} else if ($auinfo['field7'] == "RESELLER C")
{
$conditional = 200;
}
else if ($auinfo['field7'] == "RESELLER D")
{
$conditional = 200;
} else if ($auinfo['field7'] == "Custom/Other")
{
$conditional = 00;
}