Month: December 2021

PHP REST API CRUD – Step 4

Step 4 Create user Create the objects folder inside api folder and create a new file called user.php <?php class User { private $conn; private $table = "register"; // object properties public $id; public $name; ...
READ MORE   >>

PHP REST API CRUD – Step 3

Step 3 Create a directory for configuration Create the folder in XAMP/P -> htdocs with any name like PHP REST API CRUD with JWT AuthenticationOpen this folder and create api folder and necessary files if required like index, style, script...
READ MORE   >>

Step by Step Guide of PHP REST API

Step 1: Create a Database Either create the database manually or from the phpmyadmin with any name like phprestapi Step 2 Create a Table Either create the table manually or from the phpmyadmin with any name like register in phprestapi...
READ MORE   >>

Recent Comments

    • Copyright © 2020 (Er. Shairy Kalra). All Rights Reserved