It would be much easier to understand what you are saying if you had posted your code. Due to lack of understanding, my guess is that you are using the same variable names on both queries. Try using $res1 and $res2 instead of $result and on anything else you have doubled up. Just a guess.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.