sasql_stmt_error

Returns the error text for the most recently executed statement function using the specified statement resource.

Prototype

string sasql_stmt_error( sasql_stmt $stmt )

Parameters

$stmt – A prepared statement resource that was returned by the sasql_prepare function.

Returns

A string describing the error.