I have seen some websites load static data on a page first, and in some part of it the dynamic data is loaded with jquery. For example please see this image:
At the moment, I fetch data from db using a simple mysql query, eg. select * from my_photos.
I don't know how to do this with jQuery and PHP, so I'd be thankful if you can give me some example.