Simple Login via Unique ID Create a new Single Record fetch function inside the user.php file inside object folder and use the following code public function readSingleRecord($id) { $query = "select * from " . $this->table . "... READ MORE >>
Create user folder and Create a new file called create_user.php and Following steps to be performed for this 1. We need to set headers on this new file so that it will only accept JSON data from a specific URL. 2. Connect to database and... READ MORE >>
How to check output using POSTMAN Step 1 : To test for the successful creation of a data, open POSTMAN Step 2 : Fill the below URL and use POST method while inserting data in DB ... READ MORE >>
Create the user object class Create the objects folder inside api folder and create a new file called user.php <?php // 'user' object class User { private $conn; private $table =... READ MORE >>
Recent Comments