i've been wondering how this could be done, i've got a function.
$sky = (a range of number 1 to 10);
function condi($nnn){
if($$nnn <= 1){
echo 'Fails';
}
elseif($$nnn <= 3){
echo 'Respectable';
}
elseif($$nnn <= 5){
echo 'Decent';
}
elseif($$nnn <= 7){
echo 'Great';
}
elseif($$nnn <= 9){
echo 'Legendary';
}
elseif($$nnn = 10){
echo 'Ultimate';
}
}
condi('sky');
But no matter what is the value of $sky, the output is fails.
So i decided to check what is the value of $$nnn, then i realized that the $$nnn doesn't have a value in it. Any help please?