Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

random integer php

<?php
  #The rand() function generates a random number:
  
  echo(rand());
  #Picks a random number from anywhere to anywhere

  echo(rand(0, 10));
  #Picks a random number from 0 to 10
<?
 
PREVIOUS NEXT
Tagged: #random #integer #php
ADD COMMENT
Topic
Name
1+8 =