msql_field_seek

(PHP 3, PHP 4, PHP 5)

msql_field_seek -- Set field offset

說明

bool msql_field_seek ( resource result, int field_offset )

Seeks to the specified field offset. If the next call to msql_fetch_field() won't include a field offset, this field would be returned.

參數

result

返回類型為 resource 的結果集。該結果集從 msql_query() 的呼叫中得到。

field_offset

數字形式的欄位偏移量。field_offset1 開始。

返回值

若果成功則返回 TRUE,失敗則返回 FALSE