Clancy19 Posted September 30, 2009 Share Posted September 30, 2009 Can you help me with my 'If statement' Please. I've gotten this far and i need help to finish it off. if ($total=="10") { echo "<td><p><font face=arial color=red size=7>Execllent <br></font>"; }else{ If $total DOES NOT = 10, i want it to not do anything. How do i code that? Quote Link to comment Share on other sites More sharing options...
marvelade Posted September 30, 2009 Share Posted September 30, 2009 just leave out the else: if ($total=="10") { echo "<td><p><font face=arial color=red size=7>Execllent <br></font>"; } else isn't mandatory. grtz, Marv Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.