1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

PHP: Random Numbers in PHP - Random Dice Roller

  1. Clicks today:
    0
  2. Clicks this month:
    0
  3. Overall rating:
    4.33/5

PHP » Basics — over 8 years ago
This tutorial will take a brief look at using random numbers in PHP. I’ve used a dice rolling example to demonstrate how the rand() function can be used to select an image at random. This example can be implemented and used for other applications such as an ad rotation script.

Comments

avatarmutantweb over 8 years ago

sweet tutorial :).

avatardannyjohn over 8 years ago

Nice

Your Comment

You must be logged in to post a comment.