Can someone please help me fix this coding.
if ($total=="'10' "or" '9'")
{
echo "<td><p><font face=arial color=red size=7>Excellent <br></font>";
}
if ($total=="'8' "or" '7' "or" '6'") {
echo "<td><p><font face=arial color=red size=7>Great <br></font>";
}
if ($total=="'5' "or" '4' ") {
echo "<td><p><font face=arial color=red size=7>Good <br></font>";
}
if ($total=="'3' "or" '2' "or" '1' "or" '0'") {
echo "<td><p><font face=arial color=red size=7>Better Luck Next Time <br></font>";
}
When I use this code it echos everything, no matter what $total is. How can i make this work so it only echos one statement depending on what $total is?