Facebook style photo gallery with comments

| Last Updated: | In: HTML / CSS, Javascript & Ajax, Mysql, PHP Tutorial


Have you thought about own facebook-style photo gallry system with comments? I have and today I prepared it for you. In this post i explained the easy way to create your Facebook style photo gallery with comments application. I used to create the ajax, php, and mysql as database to store the gallery details.

demo download.

Create database table gallery

Insert some example data

Create comments table

Create index.php

Gallery_ajx.php page

Create classes/Comments.php page

Javascript Code

Custom Css code for style


About: Prem Tiwari

Prem Tiwari is the founder of freewebmentor.com and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.


You may also like:

Tags: , , ,