2008-01-11, 02:03 PM
I have a problem with my Ajax Chat Online Counter.
Due to my hosts terms & conditions i have host my Ajax Chat rooms DB tables away from where my forum and forum DB is hosted, its not a problem but the online counter that tells users how many are in chat now don't work as it s trying to look for the ajax chat tables in the forums DB.
What im looking for is a way of defining another set of DB details to where i can point my counter to the correct DB, and in the code i would change $db to $db1 or similar.
I have seen away on here before but after 2hours of searching i can't find it.
Does anyone have any ideas to how i could achieve this?
Cheers
Due to my hosts terms & conditions i have host my Ajax Chat rooms DB tables away from where my forum and forum DB is hosted, its not a problem but the online counter that tells users how many are in chat now don't work as it s trying to look for the ajax chat tables in the forums DB.
What im looking for is a way of defining another set of DB details to where i can point my counter to the correct DB, and in the code i would change $db to $db1 or similar.
I have seen away on here before but after 2hours of searching i can't find it.
Does anyone have any ideas to how i could achieve this?
Cheers