Here mt_rand () generates a random number from 1 to 100, so the probability that this number will be equal to one is 1/100. If this generates 1, we increase the value of views by 100. Thus, an effective increase in the database per view = (Probability of increasing vision) * (increase in the database) = (1/100) * 100 = 1
, 1 .
. MySQL , PHP rand.