Make sure you have setup XAMPP stack in your system. The following guide explains how to setup XAMPP stack in Linux. Alternatively, you can use the LAMP or LEMP stacks which provides both PHP and ...
PHP form coded using PHP, HTML5 and CSS3, in the course of systems analysis and development. To use: Don't forget to create your project folder with these files in "htdocs" inside the Xampp folders.
This tutorial walks you through the steps to select data in a table from a MySQL database using PHP in XAMPP stack. Alternatively, you can use the LAMP or LEMP stacks which provide both PHP and MySQL.