December 3, 2008 at 6:17 AM
Some points to be remember to solve the problem :
1.Create one more field current_date in the table.
2.First check the current date.
3.If current date found in the table then select the particular question corresponding date.
4.If current date not found the select question randomly by rand() function
query : "select * from tablename order by rand() limit 1"
After it insert current date corresponding to the selected question.
5.This way to display Question corrsponding Date.