ID: 12592 Updated by: lyric Reported By: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]