mpatel Posted August 20, 2011 Share Posted August 20, 2011 i wanna put condition that if ($signupbonus > 0.00) then following should not be executed <font size="3" color="red"><b>Referral bonus: <font color="green" size="4">$<? echo $signupbonus; ?></font></b></font><br><br> plz help Quote Link to comment https://forums.phpfreaks.com/topic/245310-conditional-execution/ Share on other sites More sharing options...
voip03 Posted August 20, 2011 Share Posted August 20, 2011 if($signupbonus > 0.00) { echo "Referral bonus: $0.00"; } else { echo "<font size='3' color='red'><b>Referral bonus: <font color='green' size='4'>$ ". $signupbonus ."</font></b></font><br><br> ";} Quote Link to comment https://forums.phpfreaks.com/topic/245310-conditional-execution/#findComment-1259941 Share on other sites More sharing options...
mpatel Posted August 20, 2011 Author Share Posted August 20, 2011 thank you thank you much Quote Link to comment https://forums.phpfreaks.com/topic/245310-conditional-execution/#findComment-1259948 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.