I think I found something that would work how I need.....
PHP Code:
$myquote = $db->query_first("SELECT quote, author FROM `" . TABLE_PREFIX . "usml_quotesdb` ORDER BY rand() LIMIT 1");
Although I'm not sure if
needs to be in there as well or not...
--------------- Added [DATE]1324604070[/DATE] at [TIME]1324604070[/TIME] ---------------
Woohoo! I've got it working (I think)! Now to tidy everything up
One more question....the columns in the admincp (ID, Author, Quote, Action), is it possible to make those a fixed width?