Hi,

I want to write a program that acesses two databases, fetching data from
one, writing to the other. The core code works fine now, but i have several
thoughts left: 
The program shall run as WinNT Service, running every 10 minutes or so. So
the program may not "die" when it can't connect, but just wait until the
next run. 
I also need some verification of the data being written to the second DB
before deleting it from the first, would a construction like this work?

        if ($mssth->execute) {
                <no error>;
                }
        else {
                <error to log>;
                }

regards, Lars

Reply via email to