Too Long; Didn't Read
Steps to follow to fetch data from MySQL database onto your webpage or for any other web application/ web development project using cPanel are:
1. Preparing MySQL Database using MySQL Database Wizard.
2. Creating a SQL Table using phpMyAdmin.
3. Adding data to the table manually or via your sensors/other applications.
4. Creating a PHP script to retrieve data from MySQL database to store or print it.