Professional Documents
Culture Documents
S U P E R M A RT
2
CONTENTS
o E-R DIAGRAM
o DATABASE
o CODE OF DATABASE
o PHP
E-R DIAGRAM
id is the primary key Id is the primary key.
User_id is the foreign key
Name, email,
referencing id in the users
password, and table
user_type are the Name , number , email ,
attributes method , address ,
total_product , tatal_price ,
placed_on , and
Id is the primary key. payment_status are the
Name , price , and attributes
image are the
attributes.