Yeah! I find the perfect solution (at the moment)

$quotes = explode("\n",trim($GLOBALS[html]->template('base','quotes'))); #
explode + trim
return $quotes[array_rand($quotes)]; # array_rand() only


Reply via email to