View Single Post
Old 12-31-07, 12:03 PM   #7
fivefeet8
Ngemu Mod
 
Join Date: Jul 2003
Location: Fresno, CA
Posts: 1,886
Thumbs down Re: PHP/Mysql Multiple Questions

Quote:
Originally Posted by t3hl33td4rg0n
Are you using ?

Code:
class foo { }
Code:
class bar extends foo { }
Pretty much. I have one base class with 2 database connection functions each of which use global defines to connect to the databases and creates 2 link resources. Depending on which database/table you need to query, you use one or the other(link resource).
__________________
[i7 2600k @4.4ghertz][2x4 GB DDR3 1600][EVGA GTX570 1.280GB SC][EVGA GTX460 physx][Asrock Extreme7 Gen3 Z68][2xSeagate 160 Gb SATA HD raid0][Seagate 250 GB SATA2 HD][Sony Bravia 40' 1080p LCD HDTV][NEC 3520a DVD+-DLw][Windows 7 Ultimate x64][Rosewill 1000w]
fivefeet8 is offline   Reply With Quote