in reply to Re: A Database Connection Question
in thread A Database Connection Question

Many Thanks. I figured it out like this... while ( $switch == 0 ) { $switch = 1; $oDbc = DBI->connect("dbi:Informix:$sDatabase",'','' ) or $switch = 0; if (!$switch) { sleep 60; $counter++; } if ($counter == 120) { exit(0); } }