PHP function of the day: rand()

For day 13 of 21 in the “PHP Function of the day” series, I’m going to look at rand(). This function generates a random integer.  You can feed it a minimum value and a maximum value or let it generate a value without the limits. Let’s take a look. <?php echo(rand().'<br />’); echo(rand().'<br />’); echo(rand(0,9)); ?>   …

Continue reading "PHP function of the day: rand()"