[PHP-DB] Re: Multiple MSSQL Server connections (per script)
Thanks...while I was awaiting responses, I thought I would investigate this further as this problem arose just right before the end of work Well, I am a big moron :) It was a coding error, and not a problem with anything else. I am polling the needed information for the database connection from an array, and mis-looped. Oh well. Thanks for your help. benji Owen Prime wrote: > We have had two or more MySQL datasources in the same PHP script on a few > different sites. Can't really tell you much though as we didn't do anything > out of the norm to do it. Just connected to them. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] Re: Multiple MSSQL Server connections (per script)
We have had two or more MySQL datasources in the same PHP script on a few different sites. Can't really tell you much though as we didn't do anything out of the norm to do it. Just connected to them. Thought you might like reassurance that it has been done. Cheers, Owen Prime http://www.noggin.com.au Benji Spencer wrote: > I am in need of connecting to seperate MSSQL databases (two seperate > hosts even). When I attempt this, the second one always seems to > segfualt Apache (and thus returns "no data". Has anyone succeeded in > connecting to two datasources in the same PHP script? > > I am running... > FreeTDS 0.53 > Apache 1.3.12 > PHP 4.0.6 > Linux box > > (I know your first suggestion would be to upgrade, which I am working > on. However, I rather that not be the real solution at this time). -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php