search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Add or remove doctors

Related article: AngularJS Doctor Appointment Scheduling Tutorial (PHP)
Asked by doubleprincez
2 months ago.

Please i will like to know how to add new doctors to the array and remove existing ones as well as modify doctor name.
Thank You

Answer posted by Dan Letecky [DayPilot]
2 months ago.

Management of doctors is not implemented in this tutorial. The doctor data is stored in the database, in a table called "doctor":

CREATE TABLE doctor (
    doctor_id   INTEGER       PRIMARY KEY AUTOINCREMENT NOT NULL,
    doctor_name VARCHAR (100) NOT NULL
    );

You can simply modify that table to add/remove/delete doctors.

New Reply
This reply is
Your name (optional):