|
sqlanywhere_result_all
Prototype
bool sqlanywhere_result_all( resource result_identifier [, html_table_format_string ]
)
Description
Fetches all results of the result_identifier and generates an HTML output table with an optional formatting string.
Parameters
result_identifier The result identifier returned by a sqlanywhere_query
function.
html_table_format_string A format string that applies to HTML tables.
For example, "Border=1; Cellpadding=5".
Returns
True on success or false on failure.
Example
This example shows how to use sqlanywhere_result_all to generate an HTML table
with all the rows from a result set.
$result = sqlanywhere_query( $conn, "SELECT GivenName, Surname FROM
Employees" );
sqlanywhere_result_all( $result );
Related functions
sqlanywhere_query
|