array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.odbc-result-all.php', 1 => 'odbc_result_all', ), 'up' => array ( 0 => 'ref.uodbc.php', 1 => 'ODBC 函数', ), 'prev' => array ( 0 => 'function.odbc-procedures.php', 1 => 'odbc_procedures', ), 'next' => array ( 0 => 'function.odbc-result.php', 1 => 'odbc_result', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/uodbc/functions/odbc-result-all.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7, PHP 8)
odbc_result_all — Print result as HTML table
此函数自 PHP 8.1.0 起弃用。强烈建议不要应用此函数。
Prints all rows from a result identifier produced by odbc_exec(). The result is printed in HTML table format. The data is not escaped.
This function is not supposed to be used in production environments; it is merely meant for development purposes, to get a result set quickly rendered.
statement
The result identifier.
format
Additional overall table formatting.
Returns the number of rows in the result or false
on error.
版本 | 说明 |
---|---|
8.1.0 | This function has been deprecated. |