Welcome Guest, Not a member yet? Register   Sign In
Question about multiple databases
#3

[eluser]St0neyx[/eluser]
[quote author="xwero" date="1223910130"]I think you have to set the pconnect setting to false if you want to use 2 databases at the same time.[/quote]

I saw that pconnect is one of the major causes for this, but then again if i set it to false i still have to make all the steps for a query
1. select the right db
2. make query
3. send query
4. close db
5. do something with result

Can't i just define both dbs and then set pconnect to false so the only steps are
1. make query
2. send query
3. do something with result

i cant put them in the construct because that one is not called.


Messages In This Thread
Question about multiple databases - by El Forum - 10-13-2008, 03:57 AM
Question about multiple databases - by El Forum - 10-13-2008, 04:02 AM
Question about multiple databases - by El Forum - 10-13-2008, 04:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB