I have a page that lists all my events from the event table ( tbl_eventos
). I want to list all the events of the first week of the year, past 10 seconds, list all events in the second week of the year, and so on.
In my events table I have the following fields: id_evento; nome; data
To query, I'm using php
and mysql
. I'm thinking of using ajax, but I do not know how to do it to update the content every 10 seconds and how to send the date I'm going to look for.