Step 1 . Create a table in database mysql with below script. CREATE TABLE `facts` ( `Id` int(11) NOT NULL, `title` varchar(512) NOT NULL, `myth` varchar(512) NOT NULL, `fact` varchar(512) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; Step 2 . Create a folder in xampp/htdocs/ testRestAPI Here we need to create 2 main files 1. Database.php 2. GetAllFacts.php In database.php we wi...