Whenever I see output it displays $iV is less than 10. but i want $iV to display the number instead of the name of variable what am i doing wrong here?
$iV = 7;
if($iV > 10)
{
$r = '$iV is greater than 10';
}
else
{
$r = '$iV is less than 10';
}
echo "<p>$r</p>"