I'm currently working on some PHP scripts and am having trouble that I haven't been able to find an answer to.
$conn = new mysqli($servername, $username, $password, $dbname);
...
echo $conn->error
Whenever I use $conn->error, I get redirected to my custom 404 page. It doesn't change the...