(PHP 3, PHP 4, PHP 5)
sybase_get_last_message() returns the last message reported by the server.
See also sybase_min_message_severity().