Quote:
Originally Posted by krnl
I would like to essentially sync my database value with theirs using the output that is available.
|
That is the main reason that you connect to another site. There is a fairly advanced OO soution to this described in Volume II of Harry Fuechs book "Object oriented PHP solutions" with the accompanying SPLIB library.
May be
Davey Shafik, Ligaya Turmelle, Harry Fuecks, Matthew Weier O'Phinney & Ben Balbo (2007) "
The PHP Anthology: 101 Essential Tips, Tricks & Hacks, 2nd Edition" that I have just ordered is the updated version.
As you can see, there is also a code archive with that book that you get access to once you have bought the book.
I think there is a database class there that eases the connection to more than one database at the same time. If I remeber correct, it is explained how you can access MySQL in one part of your application and another database like
PostgreSQL: The world's most advanced open source database in another part of the application.