Last week we posted a contest where you could win a free copy of Digging into WordPress by Chris Coyier and Jeff Star, a book about WordPress development.
The lottery was done by our intern, who created a small PHP-script to draw the winners. This is his first PHP script ever, so be nice!
<?php $array = array( 'Player 1', 'Player 2', 'Player 3', 'Player 4', ); $random = $array[array_rand($array)]; ?>
The HTML and CSS is also made by our intern.