First, create a simple table and populate it with sample data.
Create api/get-rows.php . This is the .