I wrote a class which has the connect function for connecting to mysql database, it works perfectly, but query called in other method of same class returns empty set, though i ran it in console and it works perfectly.
can anybody pinpoint a problem?
P.S. I hope it won't begin to work when I come to work tomorrow
