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
The function mysqli_connection fails (or did you forget calling it?) and returns null which causes the error when you try to use $connection later on with mysqli_query.
mysqli_connection
$connection
mysqli_query