2
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, last 10 seconds, list all the events in the second week of the year, and so on.
In my table events I have the following fields: id_evento; nome; data
For the consultation I’m using php
and mysql
. I’m thinking of using ajax, but I don’t know how to update the content every 10 seconds and how to send the date I will look for.
Would events be displayed more or less like a slider? Enter the source code you’ve already made.
– rray
So, I don’t know how interesting it is making requests to the bank and server every 10 seconds, in my view the most efficient would be you bring the query with everything that will be displayed at once, ai with Avascript you keep changing the content of what will be displayed
– MarceloBoni
@rray, yes, let’s imagine that it would be a slider but will actually update the content of the page
– pc_oc