Pharmacy Management - Merged
Pharmacy Management - Merged
Pharmacy Management - Merged
Belagavi - 590018
Submitted in the partial fulfillment of the requirement for the fifth semester of
BACHELOR OF ENGINEERING
At
Prof. RASHMI B R
Assistant Professor,
Dept. of CSE, RRCE
RAJARAJESWARI COLLEGE OF ENGINEERING
MYSORE ROAD, BANGALORE-560074
(Affiliated to Visvesvaraya Technological University, Belagavi)
CERTIFICATE
Certified that the mini project work entitled
“PHARMACY MANAGEMENT SYSTEM” carried out by
The students of “Rajarajeshwari College of Engineering” in partial fulfillment for the fifth
semester of Bachelor of Engineering in Computer Science & Engineering of the
Visvesvaraya Technological University, Belagavi during the year 2023-2024. It is certified
that all corrections/suggestions indicated for Internal assessment have been incorporated in the
report deposited in the department library. The mini project report has been approved as it
satisfies the academic requirements in respect of mini project work prescribed for the fifth
semester.
…………………………... …………………………
External Viva-Voce
Name of the examiners Signature with date
ACKNOWLEDGMENT
We are thankful to all the teaching and non-teaching staff of the Department
of Computer Science Engineering for their help in the successful completion
of my project.
We would like to thank my parents and all my friends who gave me a constant
source of inspiration and supported me in development of this project.
ABSTRACT
However, most pharmacies faced problems such as insufficient service promotions, lack of
coherence of pharmacy services in hospitals, poor drug information systems and the
inconsistency of the pharmacy information management due to its manual processes. Now these
are the problems that must be solved with this Pharmacy Management System Project Proposal.
CONTENTS
CHAPTERS Page.no
1.Introduction
1.1 Overview of the project 01
3. System requirements
3.1 Hardware requirements 03
3.2 Software requirements 03
4. Structure
4.1 ER-diagram 04
4.2 Scheme of Pharmacy management system 05
5. Backend
5.1 Introduction to PHP 06
5.2 Source code 07-16
7. Conclusion 26
8. References 26
PHARMACY MANAGEMENT SYSTEM
CHAPTER 1
INTRODUCTION
1.1 Overview of the project
The main aim of the project is the management of the database of the pharmaceutical shop.
This project is insight into the design and implementation of a Pharmacy Management
System. This is done by creating a database of the available medicines in the shop. The
primary aim of pharmacy management system is to improve accuracy and enhance safety
and efficiency in the pharmaceutical store. The aim of this project isto develop software for
the effective management of a pharmaceutical store. We have developed this software for
ensuring effective policing by providing statistics of the drugs in stock. The database is then
connected to the main program by using interconnection of the Visual Basic program and the
database already created. Pharmacy management system is useful to maintain correct database
by providing an option to update the drugs in stock. This is pharmacy management system; it
is used to manage most pharmacy related activities in the pharmacy.
The systemis user-friendly and will help the pharmacist. This Pharmacy Management System
will reduce the burden on pharmacist and will make the system efficient by providing the
more accurate details about drugs in the medical.
CHAPTER 2
AIM AND SCOPE OF PRESENT INVESTIGATION
2.1 AIM
One of the most important responsibilities of Medical Shop management is to supervise and
manage the pharmacy employees in order to ensure healthy working relationships and
outcomes. Each of these functions is critical to the pharmacy’s operation and should be
explained by the management. However, most pharmacies faced problems such as insufficient
service promotions, lack of coherence of pharmacy services in hospitals, poor drug
information systems and the inconsistency of the pharmacy information management due to
its manual processes. Now these are the problems thatmust be solved with this Pharmacy
Management System Project Proposal.
In computer system the person has to fill the various forms & number of copiesof the forms
can be easily generated at a time. In computer system, it is not necessary to create the manifest
but we can directlyprint it, which saves our time. To assist the staff in capturing the effort spent
on their respective working areas. To utilize resources in an efficient manner by increasing
their productivity throughautomation
CHAPTER 3
SYSTEM REQUIREMENTS
1. Processor : Pentium
2. RAM : 8 GB RAM
3. Processor : 4 GHz
4. Main memory : 4 GBs
Software requirements deals with defining resource requirements andprerequisites that needs
to be installed on a computer to provide functioning of an application. The minimal software
requirements are as follows,
CHAPTER 4
STRUCTURE
4.1 ER DIAGRAM
CHAPTER 5
BACKEND
5.1Introduction to PHP
PHP, initially standing for Personal Home Page, is now known as Hypertext Preprocessor. It's
a server-side scripting language widely used for web development, powering over 79% of all
websites on the Internet. Developed in 1994 by Rasmus Lerdorf, PHP has since evolved into
a versatile language supporting a plethora of functionalities.
One of PHP's primary strengths lies in its seamless integration with HTML. PHP code is
embedded within HTML, allowing developers to create dynamic web pages effortlessly. This
integration facilitates the creation of interactive web applications, content management
systems, e-commerce websites, and more.
PHP boasts a rich ecosystem of frameworks and libraries, such as Laravel, Symfony, and
CodeIgniter, which expedite development and enhance maintainability. These frameworks
provide robust features for routing, database abstraction, authentication, and more, enabling
developers to build scalable and secure applications efficiently.
Moreover, PHP enjoys extensive database support, including MySQL, PostgreSQL, SQLite,
and MongoDB, through dedicated extensions like MySQLi and PDO. This allows developers
to interact with databases seamlessly, executing queries and managing data with ease.
PHP's simplicity and flexibility make it an ideal choice for beginners and experienced
developers alike. Its forgiving syntax, extensive documentation, and vibrant community
contribute to its popularity and longevity in the realm of web development. Whether you're
building a simple website or a complex web application, PHP provides the tools and resources
necessary to bring your ideas to life on the web.
--
-- --------------------------------------------------------
--
-- --------------------------------------------------------
--
-- Table structure for table `medicines_stock`
--
CREATE TABLE `medicines_stock` (
`ID` int(11) NOT NULL,
`NAME` varchar(100) COLLATE utf16_bin NOT NULL,
`BATCH_ID` varchar(20) COLLATE utf16_bin NOT NULL,
`EXPIRY_DATE` varchar(10) COLLATE utf16_bin NOT NULL,
`QUANTITY` int(11) NOT NULL,
`MRP` double NOT NULL,
`RATE` double NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf16 COLLATE=utf16_bin;
--
-- Dumping data for table `medicines_stock`
--
INSERT INTO `medicines_stock` (`ID`, `NAME`, `BATCH_ID`, `EXPIRY_DATE`,
`QUANTITY`, `MRP`, `RATE`) VALUES
(1, 'Crosin', 'CROS12', '12/34', 2, 2626, 26),
(2, 'Gelusil', 'G327', '12/42', 0, 15, 12),
Pharmacy Database
Medicine table
Customer table
CHAPTER 6
6.1 HTML
HTML, short for HyperText Markup Language, serves as the backbone of the World Wide
Web, providing the structure for web pages. Developed by Tim Berners-Lee in 1991, HTML
remains the standard markup language for creating web documents and defining their
structure. Here's an introduction to HTML.HTML documents consist of elements, each
designed to represent different types of content, such as headings, paragraphs, images, links,
and more. These elements are enclosed within tags, which are comprised of angled brackets
(< >). Tags typically come in pairs: an opening tag and a closing tag, with the content nested
between them. For example, <p> is an opening paragraph tag, while </p> is its corresponding
closing tag.
Attributes provide additional information about HTML elements and are specified within the
opening tag. Attributes can define characteristics such as the element's ID, class, style, or
source. For instance, the <img> tag utilizes the src attribute to specify the image's source
file.HTML documents begin with a <!DOCTYPE html> declaration, followed by the <html>
element, which serves as the root of the document. Within the <html> element, you'll find
two primary sections: the <head> and <body>. The <head> section contains meta-
information about the document, such as its title, character encoding, and links to external
resources like stylesheets and scripts. The <body> section encapsulates the visible content of
the web page.
HTML employs a hierarchical structure known as the Document Object Model (DOM), where
elements are arranged in a tree-like fashion. This structure enables browsers to interpret and
render web pages consistently across different devices and platforms.HTML5, the latest
version of HTML, introduced numerous enhancements and new features, including semantic
elements (e.g., <header>, <nav>, <footer>), multimedia support (e.g., <video>, <audio>),
form enhancements, and improved accessibility features.
6.2 CSS
Cascading Style Sheets (CSS) is a fundamental technology for web development, playing a
pivotal role in defining the visual appearance and layout of web pages. Developed in the late
1990s by Håkon Wium Lie and Bert Bos, CSS provides a mechanism for separating document
structure from presentation, thereby enhancing the flexibility and maintainability of web
projects.
CSS works alongside HTML to style and format elements on a web page. By targeting specific
HTML elements or groups of elements, developers can apply CSS rules to dictate properties
such as colors, fonts, spacing, borders, and positioning. This separation of concerns between
HTML and CSS enables developers to create consistent designs across multiple pages while
maintaining a clean and organized codebase.
CSS syntax consists of selectors and declarations. Selectors identify the HTML elements to
which the CSS rules should be applied, while declarations specify the desired styling
properties and their corresponding values. For example, to change the color of all <h1>
headings to red. d; }
CSS also supports various units of measurement, enabling precise control over element
dimensions and positioning. Additionally, CSS offers powerful layout mechanisms, including
flexbox and grid, which facilitate responsive design and adaptability to different screen sizes
and devices.
With the evolution of web technologies, CSS has undergone significant advancements. CSS3,
the latest version of CSS, introduced numerous new features and capabilities, including
animations, transitions, gradients, shadows, and more. These enhancements enable developers
to create visually stunning and interactive web experiences without relying on external plugins
or JavaScript libraries.
html, body {
height: 100vh;
.container-fluid {
margin-left: 15%;
width: 85%;
background: #f1f3f6;
padding: 1px 0 0 0;
flex: 1 0 auto;
.container {
margin: 0;
max-width: 98%;
margin: 1%;
background-color: #ffffff;
border-radius: 5px;
.user_options button {
max-width: 50px;
max-height: 50px;
font-size: 36px;
background-color: #ffffff;
color: #ff5252;
border: none;
outline: none;
animation-name: rotate_wheel;
animation-duration: 2s;
@keyframes rotate_wheel {
0% { transform: rotate(0deg); }
.user_options button:focus {
color: #02b6ff;
#mark {
display: none;
position: fixed;
.user_options .options {
position: fixed;
right: 1%;
top : 12%;
background-color: #111111;
border-radius: 10px;
z-index: 1;
.options li {
margin: 15px;
.options li > a {
color: #eeeeee;
text-decoration: none;
margin-left: 10px;
.options a:hover {
color: #ff5252;
.options a:focus {
color: #02b6ff;
.dashboard-stats {
background-color: #f1f3f6;
margin: 2%;
padding: 15px;
border-radius: 5px;
cursor: pointer;
.todays-report {
margin: 2% 0;
padding: 5%;
border-radius: 5px;
display: none;
position: fixed;
z-index: 999;
background-color: rgba(0,0,0,0.4);
width: 100vw;
height: 100vh;
.modal-dialog {
position: fixed;
width: 100%;
left: 50%;
transform: translateX(-50%);
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
/* Firefox */
input[type=number] {
-moz-appearance: textfield;}
::-webkit-scrollbar {
width: 5px;}
::-webkit-scrollbar-track {
background: #f1f3f6;
}::-webkit-scrollbar-thumb {
background: #ff5252; }
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #555;
RESULTS
DASHBOARD
SNAPSHOTS
7.CONCLUSION
8. REFERENCES
1. https://www.mysql.com/
2. https://www.geeksforgeeks.org/
3. https://w3schools.com/
Ramakrishna Gerkhe.