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

    Join Date
    Jun 2000
    Posts
    6
    Rep Power
    0
    Hi!

    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!

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

    Join Date
    Feb 2000
    Location
    London
    Posts
    987
    Rep Power
    15

    Can u show me how you are using it??



    ------------------
    SR -
    shiju.dreamcenter.net

    "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