Help, please, what does the code look like in PHP, in which it is specified that the number a and the number b is greater than or equal to one but less than or equal to 100. It is necessary that the script generate these random numbers, and when the page reloads it again generates new ones.

    2 answers 2

    Php has a rand function. Use so

    a = rand(1,100); b = rand(1,100); echo("a = ".a." b = ".b); 

      HERE all the detail