Step 12 Create API for delete data Create a new file called delete_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 11 Delete Data Last, but not the least we will delete the user data. For this we will add delete functions in user.php of object folder. // Delete User public function delete($id) { $query = "delete from " .... READ MORE >>
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 >>
Recent Comments