I keep getting this error from my code
Warning: mysqli_query() expects parameter 1 to be mysqli, null given in C:\\xampp\\htdocs\\citizenssuites\\site\\pages\\re
You didn't call mysqli_connect first, or it failed. Set $connection to a valid connection first:
$connection
mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT); $connection = mysqli_connect("hostname", "username", "password"); $result = mysqli_query($connection, ...);