Jump to content

php ACM Error!


Recommended Posts

hey pedes

php error se acm manager

 

 

error : Warning: mysql_real_escape_string() expects parameter 2 to be resource, boolean given in /home/a5517260/public_html/account_manager/classes/mysql.class.php on line 72

 

php code mysql.class.php : http://pastebin.com/Y7G5LSwx

 

 

 

Link to comment
Share on other sites

You need to have a valid connection to your MySQL Server first.

 

Do mysql_connect() before using this function.

You shouldn't post if you can't understand PHP code.

 

mysql_connect() is already there as you can see:

$this->db_inst = @mysql_connect ($this->_host,$this->_user,$this->_pass);

 

The problem is that it's not successful so there is most likely something wrong with the login details. (username, pass etc)

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...