Krch there is for example such code:
$a = rand(1.100); $b = rand(1.100); if ($a ==$b) { echo "Вы победили"; How to make it so that the condition is met if the spread of numbers, for example, 10, that is, if $ a = 40, and $ b = 50 or $ b = 49, etc., then did it also show that I won? Maybe there is a special function for this?
rand(1.100);what does it even mean? rand takes either 2 parameters or zero parameters - strangeqargo