Microsoft Word - Core PHP Programming Using PHP to Build Dynamic Web Sites

(singke) #1

The sybase_free_result function frees memory associated with a result set. It is not
strictly necessary to call this function. All memory is freed when a script finishes
executing.


string sybase_get_last_message()


The sybase_get_last_message function returns the last message from the Sybase
database. This function is not available if you're using Client-Library instead of DB-
Library.


<?
print(sybase_get_last_message());
?>


sybase_min_client_serverity(integer severity)


This function is available only when using Client-Library. It sets the minimum severity
for messages sent from the client interface to be turned into PHP error messages.


sybase_min_error_severity(integer severity)


Use sybase_min_error_severity to set the minimum severity level for errors to be
turned into PHP error messages. This function is available only when using DB-Library.


sybase_min_message_severity(integer severity)


Use sybase_min_message_severity to set the minimum severity level for messages to
be turned into PHP error messages. This function is available only when using DB-
Library.


sybase_min_server_severity(integer severity)


This function is available only when using Client-Library. It sets the minimum level for
messages from the server interface to cause PHP error messages to be generated.


integer sybase_num_fields(integer result)


The sybase_num_fields function returns the number fields in the given result set. See
sybase_result for an example of use.


integer sybase_num_rows(integer result)


The sybase_num_rows function returns the number of rows in a result set. See
sybase_result for an example of use.

Free download pdf