RE: [PHP-DB] Re: MSSQL + FreeTDS and No SQL Errors Returned

From: Date: Wed, 02 Aug 2000 14:47:23 +0000
Subject: RE: [PHP-DB] Re: MSSQL + FreeTDS and No SQL Errors Returned
Groups: php.db 
Request: Send a blank email to php-db+get-1721@lists.php.net to get a copy of this message
Surely if the Server Name is incorrect then you can't connect at all? Can you be more specific as I would love to carry on developing on Linux and not have to move everything on to NT My interfaces file looks like this if that helps at all regent1 query tcp ether 158.234.48.71 1433 master tcp ether 158.234.48.71 1433 Connection looks like this where $hostname = "regent1" $connection = mssql_connect($hostname, $username, $password) or die ("Failed to connect to SQL Server Database on $hostname"); Cheers Nick > ---------- > From: Lic. Luis Reynel Sales > Glez.[SMTP:lrsg@intradev.sola.sony.com] > Sent: 02 August 2000 15:34 > To: Alexey Borzov > Cc: Sanders, Nicholas; 'php-db@lists.php.net' > Subject: [PHP-DB] Re: MSSQL + FreeTDS and No SQL Errors Returned > > Hi *: > > I installed FreeTDS and I'm using PHP to connect to M$SQL from Linux. > > >SN> Is anyone else out there not getting SQL errors returned to the > browser so > >SN> the script just stops. So if the SQL is executed at the top of the > script > >SN> then I get a 'The page cannot be displayed' error from IE and a popup > from > >SN> Netscape saying 'The page didn't contain any data'. > > I was in that situation until yesterday when I realized that the Server > Name was incorrect on mssql_connect function. > > Now I can make any queries without take care of how many rows returns. > > Regards, > > -- > Luis R. Sales > WebMaster > Sony Latin America Inc. > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#1721) next »