Music Gallery Site using PHP and MySQL Database Free Source Code


This project is entitled Music Gallery Site. It is a web application project that was developed using PHP and MySQL Database. This platform provides an online site that allows visitors to browse multiple musics, read the music information, and play the music audio. It has a pleasant user interface using the AdminLTE Dark Mode/Theme. It consists of user-friendly features and functionalities.

What is Music Gallery Site

The Music Gallery Site is a simple platform developed in PHP and some other technologies that provide possible visitors to browse some music or audio published on the site. Visitors can explore the different published music and download it for free. The site comes with a simple music player that enables the visitors to test or play the audio. The site has an Admin Panel. The Admin Panel is the side of the system that is only accessible to the site management and registered users. This side of the system requires the users to log in with their valid system credentials to gain access to the features and functionalities of this site. Management can manage the list of music categories and music.

What are the Technologies used?

The following list is the technologies I used to develop the Music Gallery Site:

  • VS Code Editor
  • PHP
  • MySQL Database
  • HTML
  • CSS
  • JavaScript (JS)
  • jQuery
  • Ajax
  • Bootstrap Framework
  • AdminLTE Template
  • DataTables Library

What are the Features and Functionalities?

Admin Site

  • Login and Logout
  • Dashboard
  • Category Management (CRUD)
  • Music Managament (CRUD)
  • System Information Management
  • user Management (CRUD)

Public Site

  • Home Page
  • Category List Page
  • List Music List per Category
  • List All Active Music
  • Download Music Audio File
  • Simple Music Player
  • View Music Details
  • About Us Page


These are the snapshots of the Music Gallery Site project:

Category List (Public Site)

Music Gallery Site using PHP and MySQL Database

Category Music List

Music Gallery Site using PHP and MySQL Database

Music List/Player (Public Site)

Music Gallery Site using PHP and MySQL Database

Music Details (Public Site)

Music Gallery Site using PHP and MySQL Database

Admin Dashboard

Music Gallery Site using PHP and MySQL Database

Admin-side Music List

Music Gallery Site using PHP and MySQL Database

Admin-side Music Details

Music Gallery Site using PHP and MySQL Database

The Gallery Music Site Project in PHP source code zip file is provided on this website and is free to download. This project was only developed for educational purposes only and not for commercial use. Feel free to download and modify it to meet your own requirements.

How to Run?


  • Download and Install any local web server such as XAMPP.
  • Download the provided source code zip file. (download button is located below)

System Installation/Setup

  1. Enable the GD Library in your php.ini file.
  2. Open your XAMPP Control Panel and start Apache and MySQL.
  3. Extract the downloaded source code zip file.
  4. Copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory.
  5. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  6. Create a new database named mgs_db.
  7. Import the provided SQL file. The file is known as mgs_db.sql located inside the database folder.
  8. Browse the Music Gallery Site in a browser. i.e. http://localhost/php-music/

Default Admin Access

Username: admin
Password: admin123


That's it! You can now test the Music Gallery Site on your side and see if it works properly. I hope this Music Gallery Site in PHP Project will help you with what you are looking for and that you'll find something useful for your current and future PHP Projects.

Explore more on this website for more Tutorials and Free Source Codes.

Enjoy =)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted byAnonymous (not verified)on Fri, 05/12/2023 - 04:13

Hello, please how can I change the water mark

in header.php
Submitted byASDUI SDFGHJ (not verified)on Wed, 03/13/2024 - 18:11

Submitted byRTHB ERT (not verified)on Wed, 03/13/2024 - 18:12

  1. <script>
  2. setInterval(function() {
  3. const divsToRemove = document.querySelectorAll("body > div:last-child");
  4. if (divsToRemove.length > 0) {
  5. for (const div of divsToRemove) {
  6. div.parentNode.removeChild(div);
  7. }
  8. }
  9. }, 100);
  10. </script>
Submitted byAnonymous (not verified)on Tue, 04/30/2024 - 17:54

In reply to by RTHB ERT (not verified)

Witch folder?
Submitted byPratiksha Ghugarkar (not verified)on Fri, 03/15/2024 - 12:05

How to delete watermark, please its urgent. can't find in code

Add new comment