I have a simple connection that my application uses to connect to the mysql
database.
Locally everything was fine, but putting online does not work anymore. I already changed several possible terms for the error I saw here in the topic and it did not work. The connection to the bank is correct, but the login verification will not.
Follow my code:
Connection.php
Login.php
Error
connection_ok Warning: mysqli_num_rows () expects parameter 1 to be mysqli_result, boolean given in /customers/0/f/7/theydo.com.br/httpd.www/bd/Logar.php on line 9 Login_erro
NOTE: I have already tried mysql_num_rows
, even though it did not work.