$quote_sql = $db->Execute("SELECT * from quotes WHERE quotes_active = 1 ORDER BY RAND() LIMIT 1;");
$quote_content = '"' . stripslashes($quote_sql->fields['quotes_text']) . '"
';
echo $quote_content;
Obviously you should modify this to match your own template, and add whatever CSS would make it look good.
=== Test it Out ===
Add a few quotes into your database and test it out!
=== Helper File ===
You don't want to have to manually add quotes in the db through mysql every time, that would be a pain! Instead you should [[tariffhelper.html|make yourself a nice helper file]] in php that you can use through the zencart admin.
Here's an example of a simple file we use to make managing the quote a little easier:
{{:tutorials:zencartmods:quotes.php.zip|}}