I' ve got some data in my database and I' m using PHP to fetch it and would like to transport it to client side via JSON.
The problem that I'm facing is the folowing:
I have a timeline which was built in html and css and I would like to store the data from the database to the timeline. What is the best approach on tackling such a problem?
please consider that I have to do some sorting on that timeline (I would like to store the data on the timeline depending on the year, going from the latest to the oldest year).
I'm not asking for any code or so just to give me some suggestions on how to tranfer the data from server to the client, manipulating at the client side ect.