how i can show daily Sentence in site by get Non-recurring value from database ?
my database have more than 365 Sentence
my database table’s Structure is :
id,text
i think i should crate a show in my table’s Structure that Default value is 0 and when Sentence showed in site show = 1
this is true ?
Yes you can add an extra column and get record using query like this:
EDIT:
You can get random record from table as well.
Example:
But this method is slow with large tables. See more details in following article: