Archive for the 'php' Category

Random Images

One way designers add variety to a website is to have a random image appear in the header of the page. A great way to implement this is using the mt_rand() function in php. This function takes two arguments (1 and 5 in the example below) and returns a random integer in the range specified […]

Posted by ryan on February 14, 2005 | php | Comments (5)