Print result as HTML table

odbc_result_all

(PHP 4, PHP 5, PHP 7, PHP 8)

odbc_result_allPrint result as HTML table

警告

此函式自 PHP 8.1.0 起棄用。強烈建議不要應用此特性。

說明

odbc_result_all(resource $statement, string $format = ""): int|false

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.

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *