[24-May-2017 18:10:44 America/Detroit] PHP Warning: mysql_close() expects parameter 1 to be resource, boolean given in /home/migps/public_html/gpsenmexico/system/database/mysql.php on line 67

closed as off-topic by dan May 29 '17 at 4:51

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions that are specific to one website are discouraged because they are unlikely to help future visitors. Examples include individual website reviews for SEO purposes and general website troubleshooting. See the How to Ask page for help improving this question." – dan
If this question can be reworded to fit the rules in the help center, please edit the question.

  • This is a question for stackoverflow.com but I'll give a quick answer. The only things that can be closed are things that are open of the same type which in your case is an active mysql connection. – Mike May 31 '17 at 0:46

Firstly, mysql_ is deprecated now. You should be using PDO or at the least mysqli_

Be that as it may, you are missing the connection e.g. mysql_close($conn)

Not the answer you're looking for? Browse other questions tagged or ask your own question.