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
7 years 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]
7 years 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.

Comment posted by Anonymous
6 years ago.

can you provide an solution for this

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.