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 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> ";} 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 Link to comment https://forums.phpfreaks.com/topic/245310-conditional-execution/#findComment-1259948 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.