1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Rep Power

    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!

  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Rep Power

    Can u show me how you are using it??

    SR -

    "The fear of the LORD is the beginning of knowledge..."

Similar Threads

  1. functions slowing code
    By dave2k in forum PHP Development
    Replies: 5
    Last Post: February 7th, 2004, 06:40 PM
  2. How do I make an object static within a class?
    By Bacat in forum C Programming
    Replies: 11
    Last Post: January 11th, 2004, 08:54 PM
  3. Troubles with virtual functions and heritage
    By Danbr in forum C Programming
    Replies: 3
    Last Post: December 30th, 2003, 01:18 PM
  4. Replies: 10
    Last Post: November 1st, 2003, 05:50 AM
  5. classes and function declaration
    By irishsk in forum PHP Development
    Replies: 4
    Last Post: August 18th, 2003, 11:45 AM

IMN logo majestic logo threadwatch logo seochat tools logo