Step 10 Create API for update data Create a new file called update_user.php in user folder and Following steps to be performed for this We need to set headers on this new file. 2. Connect to database and register... READ MORE >>
Step 9 Update Data After view/read user, now we update the user data. For this we will add update functions in user.php of object folder //Update User Data public function update($id) { $query = "update " . $this->table . "... READ MORE >>
Step 8 Create API for read single and all data Create a new file called read_user.php in user folder and Following steps to be performed for this We need to set headers on this new file. 2. Connect to database and register... READ MORE >>
Step 7 Read Data After successfully insertion of user, now we read the complete data or single user data. For this we will add 2 functions in user.php of object folder. // Read Data public function read() { //query to read all... READ MORE >>
Recent Comments