05.06.2018, 08:29
You should have a MySQL: Connection handle, which is "Database" in your case, catching the value from mysql_connect.
Also, mysql_errno() returns 0 if connection was successful. So you've got that wrong. So basically, the problem is that mysql is not able to connect as I said above.
https://sampwiki.blast.hk/wiki/MySQL/R40#mysql_errno - Here, look at this.
PHP код:
Database = mysql_connect(...);
https://sampwiki.blast.hk/wiki/MySQL/R40#mysql_errno - Here, look at this.

