Simple photo gallery with upload and comments using mysqli and mysql