I' lokking for an Abstration Layor for my aplication and this one seems very organized.
My problem is that the aplication witch i intend to incorporate one layer uses a primari database (MySQL or PostGRES) and keeps this connection for user setting an so. And a second connection is made to another database (retreived from de firts) also MySQL or PostGRES for site navigation.
I need mantaind these two connection while the PHP script is running.
Is this possible with this layer? I sow som global variabels like $username and $password. Does this means it only connect to one database at one time?
Thanks.
I Like the code, maybe i can help?
Pinto
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi,
I' lokking for an Abstration Layor for my aplication and this one seems very organized.
My problem is that the aplication witch i intend to incorporate one layer uses a primari database (MySQL or PostGRES) and keeps this connection for user setting an so. And a second connection is made to another database (retreived from de firts) also MySQL or PostGRES for site navigation.
I need mantaind these two connection while the PHP script is running.
Is this possible with this layer? I sow som global variabels like $username and $password. Does this means it only connect to one database at one time?
Thanks.
I Like the code, maybe i can help?
Pinto