There was an error while loading. Please reload this page. Just copy-paste my code snippet in your .php file, and modify the highlighted parts according to your needs ...
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.
This can be suppressed by using sql_mode = 'NO_ENGINE_SUBSTITUTION'; but the goal is to have the core code run error/warning free in STRICT mode. In Admin > Version, I see MySQL Mode: ...