Author: Matt Mullenweg
Version: 1.5
Author URI: http://photomatt.net/
-*/
+*/
// These are the lyrics to Hello Dolly
$lyrics = "Hello, Dolly
// Here we split it into lines
$lyrics = explode("\n", $lyrics);
// And then randomly choose a line
-$chosen = wptexturize( $lyrics[ mt_rand(0, count($lyrics) ) ] );
+$chosen = wptexturize( $lyrics[ mt_rand(0, count($lyrics) - 1) ] );
// This just echoes the chosen line, we'll position it later
function hello_dolly() {