MIHDev |
|
---|---|
No worries m8, that is why we are all here, to help :), I am glad to see that others are expanding and learning Cotonti
![]() Looks like there are 2 problems, There is a typo on line 14 and the order is incorrect. $leetloging Replace lines 14, 15, 16 and 17 with this if($usr['level'] >= 20)
{
$buttontext = 'Download Mission 3';
}
elseif($usr['level'] >= 15)
{
$buttontext = 'Download Mission 2';
}
elseif($usr['level'] >= 10)
{
$buttontext = 'Download Mission 1';
}
$leetlogin .= $buttontext; Not seen all the code but that puts it in a way that should work for you, hope it helps. [b]Know the question and you will be far more likely to get an answer.[/b]
|