Sample DBMS Report
Sample DBMS Report
Sample DBMS Report
590014
Submitted by:
ARPITHA K(1DT16CS014)
AND
BHOOMIKA R(1DT16CS019)
CERTIFICATE
This is to certify that the Mini-Project on Database Management System (DBMS) entitled “MUSIC
MANAGEMENT SYSTEM” has been successfully carried out by ARPITHA K(1DT16CS014) and
BHOOMIKA R(1DT16CS019) a bonafide students of Dayananda sagar academy of technology
and management in partial fulfillment of the requirements for the award of degree in Bachelor of
Engineering in Computer Science and Engineering of Visvesvaraya Technological University,
Belgaum during academic year 2018. It is certified that all corrections/suggestions indicated for
Internal Assessment have been incorporated in the report deposited in the departmental library. The
mini project report has been approved as it satisfies the academic requirements in respect of project
work for the said degree.
GUIDES:
Dr. MANJUNATH D R
(Asst. Prof. Dept of CSE)
and
Dr.SANDHYA N
(Assoc. Prof. Dept of CSE) Dr. C. NANDINI
(Vice Principal & HOD, Dept. of CSE)
It gives us immense pleasure to present before you our project titled “MUSIC MANAGEMENT
SYSTEM USING HTML and PHP”. The joy and satisfaction that accompany the successful
completion of any task would be incomplete without the mention of those who made it possible. We
are glad to express our gratitude towards our prestigious institution DAYANANDA SAGAR
ACADEMY OF TECHNOLOGY AND MANAGEMENT for providing us with utmost knowledge,
encouragement and the maximum facilities in undertaking this project.
We wish to express a sincere thanks to our respected principal Dr. B. R. Lakshmikantha for all their
support.
We express our deepest gratitude and special thanks to Dr.C.Nandini, Vice Principal & H.O.D, Dept.
We sincerely acknowledge the guidance and constant encouragement of our mini- project guides, Assis
Dr.Manjunath.D.R. (Asst. Prof. Dept of CSE) and Dr.SANDHYA N(Assoc. Prof. Dept of CSE)
ARPITHA K(1DT16CS014)
AND
BHOOMIKA R (1DT16CS019)
i
ABSTRACT
Our project Music Management system is designed to automate and simplify the work done by
the users of who love music. The aim of the project is to entertain users by different varieties of songs
who use our Music Management system.
It includes maintenance of User details, Songs details, Artists details, Language details, along
with the lyrics URL. The system allows the music user to search for name of the songs which are
available. The system is designed such that songs are available on all days. The system displays all the
songs details such as image, songs, duration etc.
The system asks the user to enter his details such as name, password(pwd), email, address and
contact number to register.
Our software has the facility to add new record, update existing record and delete an existing
record. The Music Management System can be entered using a username and password. It is accessible
either by an administrator or user. Administrator has access to all the functions of the System and can
see the user details. Users can add and modify their details.
The main purpose of this software is to make it convenient for the users to play the songs as and
when they require. Our Project interface is very user-friendly and simplifies the manual operation of an
Music Management.
ii
TABLE OF CONTENTS
1 INTRODUCTION 1
1.1 Background 1
1.2 Problem Definition 1
1.3 Motivation 1
1.4 Objective 2
1.5 Scope of the project 2
2 REQUIREMENTS 3
2.1 Hardware Requirements 3
2.2 Software Requirements 3
3 DESIGN 4
3.1 Database Design 4
3.1.1 E-R Diagram 4
3.1.2 Database Schema 5
3.1.3 Relational Schema 8
3.2 Database Normalization 9
3.2.1 First Normal Form 9
3.2.2 Second Normal Form 9
3.2.3 Third Normal Form 9
3.3 User Interface 9
3.3.1 User Registration Module 9
3.3.2 User Operations Module 10
3.3.3 Admin Registration Module 12
3.3.4 Admin Operations Module 13
4 IMPLEMENTATION 15
4.1 User Registration Module 15
4.2 User Operations Module 16
4.3 Admin Registration Module 17
4.4 Admin Operations Module 18
4.5 Stored Procedure and Trigger 19
5 SOURCE CODE 20
iii
LIST OF FIGURES
iv
DBMS Mini Project – Music Management System
CHAPTER 1
INTRODUCTION
1.1 Background
Considering the volumes of data that needs to be tracked and accessed, it would be very difficult to
manage the accuracy and quality of data manually and deliver them accordingly. It would be almost
impossible to get the details required in case of manual maintenance of data. The Music Beats(Music
With Comfort) is an innovative solution that helps in managing huge loads of songs. The Music
Management System simplifies the manual work and allows smooth administration of the operations of
streaming music.
This project is aimed to reduce the manual work involved in data maintenance in the Song
details and automates the Music Management System. This project is developed mainly to simplify the
manual work and allows smooth administration of the operations of music. The purpose of the project
is to computerize the administrative operations of Songs and to develop software which is user friendly,
simple, fast, and cost – effective. It deals with the collection of Users, Songs, Artists etc. Traditionally,
it was done manually. The main function of the system is to enter and listen Songs and retrieve these
details as and when required..
1.3 Motivation
Manual System: The system is very time consuming and lazy. This system is more prone to errors and
sometimes the approaches to various problems are unstructured.
Technical System: With the invention of latest technology, we should update our systems which are
very fast, accurate, user-friendly and reliable.
1.4 Objective
Main goal of this project is to simplify the manual operation of the Music with the following
advantages:
1. Faster System
2. Accuracy
3. Reliability
4. Cost Effective
5. User Friendly
6. Immediate access to the data
The project provides a very simple application which simplifies the manual work done by the
operation team of Music Management System. This application saves the data of users in the
database. Allows users to search for Songs.
CHAPTER 2
REQUIREMENTS
The requirements can be broken down into 2 major categories namely hardware and software
requirements. The former specifies the minimal hardware facilities expected in a system in which the
project has to be run. The latter specifies the essential software needed to build and run the project.
The Hardware requirements are very minimal and the program can be run on most of the machines.
• Processor - Intel 486/Pentium processor or better
• Processor Speed - 500 MHz or above
• Hard Disk - 20GB(approx)
• RAM - 64MB or above
• Storage Space - Approx. 2MB
CHAPTER 3
DESIGN
Database: musicdb
Table : users
Table: songs
Table : artists
Table: language
Database: Musicdb
A relation is said to be in second normal form if it is already in first normal form and it has no
partial dependency. All the tables in the database are designed in such a way that there is no
partial dependency. Hence all tables are in 2nd Normal Form.
A relation is said to be in third normal form if it is already in 1st and 2nd Normal Form and has
no transitive dependency. All the tables in the database are designed in such a way that there is
The User Interface of the Music Management System is divided into two parts
User Registration:
User Login:
Figure 3.3
User Login
Available Songs:
Artist Details
Add User:
CHAPTER 4
IMPLEMENTATION
Stored Procedure:
Trigger:
CHAPTER 5
SOURCE CODE
Sample Source code to display the available songs
Filename: songs.php
<?php
//including the database connection file
include_once("config.php");
//$type = $_GET['type'];
$result = mysqli_query($mysqli, "SELECT * FROM songs ORDER BY title "); // using mysqli_query
for all pizza
?>
<html>
<head>
<title>Display songs</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body background="/musicdbase/image/superthumb.png">
<th><strong>Duration</strong></th>
<th><strong>Ratings</strong></th>
<th><strong>Lyrics Url</strong></th>
<th><strong>Playsong</strong></th>
</tr>
<?php
//while($res = mysql_fetch_array($result)) { // mysql_fetch_array is deprecated, we need to use
mysqli_fetch_array
while($res = mysqli_fetch_array($result)) {
echo "<tr>";
echo "<td width=20%;><b>"."<embed width=420px height=315px
src=image/".$res['Image']." ></b></td>";
echo "<td>";
echo "<audio controls>";
echo "<source src=\"songs/".$res['title']."\">";
echo "Your browser does not support the audio element.";
echo "</audio>";
echo "</td >";
echo "</tr>";
?>
</table>
</body>
</html>
Triggers:
CREATE TRIGGER user_trig BEFORE INSERT ON users
FOR EACH ROW INSERT INTO trigger_time
VALUES(NOW())
END
Stored Procedure:
GetAllSongs:
END
CHAPTER 6
The Music Management System is a great improvement over the manual system which uses lots of
manual work. The computerization of the system speeds up the process. This system was thoroughly
checked and tested with dummy data and found to be very reliable.
6.1 Advantages
The Music Management System can be enhanced by including more functionality like maintaining
albums, Track the number of songs , maintain users Feedback, Reports, Billing and Offers etc.
We can further add an improvised music system which far more efficient and reliable.
BIBLIOGRAPHY
BOOK REFERENCES:
➢ Learn to Code HTML and CSS: Develop and Style Websites (Web Design Courses) 1st, Kindle
Edition by Shay Howe
➢ PHP 6 and MySQL 5 - Larry Ullman
WEBSITE REFERENCES:
HTML Learning:
➢ https://www.codecademy.com/
➢ https://dash.generalassemb.ly/
➢ https://www.w3schools.com/
PHP Learning:
➢ http://www.tutorialspoint.com/php/
➢ https://killerphp.com
➢ https://www.w3schools.com/
PERSONAL DETAILS :
NAME: ARPITHA K
USN: 1DT16CS014
SEMISTER AND SECTION: 5th SEM & 'B' SEC
COLLEGE: DAYANANDA SAGAR ACADEMY OF TECHNOLOGY AND
MANAGEMENT
EMAIL ID: arpitha.k41@gmail.com
NAME: BHOOMIKA R
USN: 1DT16CS019
SEMESTER AND SECTION: 5th SEM & ‘B’ SEC
COLLEGE: DAYANANDA SAGAR ACADEMY OF TECHNOLOGY AND
MANAGEMENT
EMAIL ID: bhoomikaravishankar97@gmail.com