Jump to content

php greater/lesser


karimali831

Recommended Posts

Hi,

 

My example:

 

$setting = 4 //can challenge if opponent has 4 points lesser than you

$team1 = 13; //challenger points

$team2 = 7; //points

 

In my above case, it should return false because 13-7 = 6, $team2 has 6 points lesser than team 1. If team2 had 4 points or lesser, it should return true.

 

Can someone write the if() statement for me please?

Appreciate that alot.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/218644-php-greaterlesser/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.