Danta Dentals is a fully responsive dental website, built to be compatible with all devices. It is developed using HTML, CSS, JavaScript, PHP, and SQL.
To run the website locally, ensure you have the following:
- XAMPP server
- Code Editor
Setting up the database
There are two databases used in the website:
appointment_db
buy_db
Steps for creating the tables:
-
Start the XAMPP server and enable Apache and MySQL.
-
Access PHPMyAdmin through the admin button of SQL.
-
Create two databases named as mentioned above.
-
For
appointment_db
, create a table namedappointment_form
with 6 columns:- id (Primary Key, Auto Increment)
- first
- second
- number
- date
-
For
buy_db
, create a table namedbuy_form
with 13 columns:- id (Primary Key, Auto Increment)
- name
- address
- city
- state
- code
- plan
- cardname
- cardnumber
- expmonth
- expyear
- cvv
To run the website locally:
- Save the website folder in the "htdocs" folder present in the XAMPP installation directory.
- Open a browser and type the URL "localhost/foldername".