<?php
$connection = mysqli_connect("localhost", "root", "");
$db = mysqli_select_db($connection, 'bfp_drrm');
$query = "SELECT * FROM initial";
$query_run = mysqli_query($connection, $query);
?>
The result should be the data table of the database. This is the warning/error:
"Fatal error: Uncaught mysqli_sql_exception: No connection could be made because the target machine actively refused it in C:\xampp\htdocs\BFP_READY_F\Regional\realtime.php:273 Stack trace: #0 C:\xampp\htdocs\BFP_READY_F\Regional\realtime.php(273): mysqli_connect('localhost', 'root', '') #1 {main} thrown in.."