Mysqli_connect()
works well when I am on my local server.
But, now that I'm on the live server, it does not work.
However, Mysqli_error()
does not show any error message.
I tried to use error_reporting(E_ALL)
and ini_set("display_errors", "on")
to force mysqli_error()
to return an error message but it does not.
But I must mention that: when I enter consciously a bad parameter to mysqli_connect()
(like a bad password), then mysqli_error()
return an error.
Please help me