Bug #12592 Updated: Warning message when connect to Sybase Database
| From: | lyric@php.net | Date: | Tue, 07 Aug 2001 04:12:58 +0000 |
| Subject: | Bug #12592 Updated: Warning message when connect to Sybase Database | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-62375@lists.php.net to get a copy of this message | ||
ID: 12592
Updated by: lyric
Reported By: rkdhiman@lycosasia.com
Old Status: Open
Status: Bogus
Bug Type: Sybase (dblib) related
Operating System: Windows 2000
PHP Version: 4.0.6
New Comment:
Normal - Sybase generates the warning whenever you change databases. Suppress the message by
prefixing sybase_connect with an @ sign (still check the result!) thusly :
$dbh = @sybase_connect(...);
Previous Comments:
------------------------------------------------------------------------
[2001-08-06 23:43:32] rkdhiman@lycosasia.com
Warning message comes in HTML Pages when connect to Sybase Database or Change Database context like
-
Warning: Sybase: Server message: Changed database context to 'rdhiman'. (severity 10,
procedure N/A) in c:\inetpub\webpub\guestfatch.php on line 10
------------------------------------------------------------------------
[2001-08-06 07:54:04] rkdhiman@lycosasia.com
When I connect to Sybase Database in PHP script, the following Warning message comes in my Page
generated through PHP i.e.
Warning: Sybase: Server message: Changed database context to 'rdhiman'. (severity 10,
procedure N/A) in c:\inetpub\webpub\guestfatch.php on line 8
After printing this warning message, everything is going fine.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12592&edit=1