I have another problem:

I made a class that connects to a mysql database and queries it. Once i instationate the class to a variable, everything is fine. However if I instantionate another class in teh same script, and try to query my original, it turns out that the query is sent to the second class. i don't understand why this is happeneing since i have mutiple sql IDs opened.

Please get back to me! Thanks!