Jump to content

Recommended Posts

Posted

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

 

 

 

Posted

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)

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock