<?PHP
// This method only works where the elements exist AND are
// sequentially numbered. If you unset() elements from the
// array, you may end up picking elements that no longer exist.
$quote = $quotes_array[RAND(0, COUNT($quotes_array) - 1)];
?>