MySQL Forums
Forum List  »  Newbie

Re: Help With Creating Reoccuring, Daily Event
Posted by: Peter Brawley
Date: May 20, 2015 06:34AM

Sure, keep a table of sayings ( id smallint int unsigned primary key auto_increment, saying txt ), populate it, and every day have your app show the results of a query like ...

select saying from sayings order by rand() limit 1;

Options: ReplyQuote


Subject
Written By
Posted
Re: Help With Creating Reoccuring, Daily Event
May 20, 2015 06:34AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.