oci_result

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0)

oci_result锟斤拷锟斤拷锟斤拷取锟斤拷锟斤拷锟斤拷锟街段碉拷值

说锟斤拷

oci_result ( resource $statement , mixed $field ) : mixed

oci_result() 锟斤拷锟斤拷锟斤拷 oci_fetch() 锟斤拷取锟矫的碉拷前锟斤拷锟斤拷 field 锟街段碉拷锟斤拷锟捷★拷oci_result() 锟斤拷锟斤拷锟斤拷锟斤拷锟酵讹拷锟斤拷锟斤拷锟街凤拷锟斤拷只锟斤拷锟剿筹拷锟斤拷锟斤拷锟酵o拷ROWID锟斤拷LOB 锟斤拷 FILE锟斤拷锟斤拷oci_result() 锟节筹拷锟斤拷时锟斤拷锟斤拷 FALSE锟斤拷

锟斤拷锟斤拷使锟斤拷锟斤拷锟斤拷牛锟斤拷锟� 1 锟斤拷始锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷写锟斤拷锟斤拷为 col 锟侥诧拷锟斤拷锟斤拷

Note:

锟斤拷 PHP 5.0.0 之前锟侥版本锟斤拷锟斤拷使锟斤拷 ociresult() 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷煤锟斤拷锟斤拷锟斤拷锟饺伙拷锟斤拷茫锟轿拷锟斤拷录锟斤拷锟斤拷锟轿� oci_result() 锟侥憋拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟窖憋拷锟斤拷锟斤拷锟斤拷锟斤拷锟狡硷拷使锟矫★拷

要锟斤拷取 OCI8 锟斤拷展锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷映锟斤拷锟较革拷冢锟斤拷锟轿硷拷锟斤拷锟斤拷锟斤拷支锟街碉拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷

锟轿硷拷 oci_fetch_array()锟斤拷oci_fetch_assoc()锟斤拷oci_fetch_object()锟斤拷oci_fetch_row() 锟斤拷 oci_fetch_all()锟斤拷

锟斤拷锟斤拷

statement

field

Can be either use the column number (1-based) or the column name (in uppercase).

锟斤拷锟斤拷值

Returns everything as strings except for abstract types (ROWIDs, LOBs and FILEs). Returns FALSE on error.

注锟斤拷

Note:

In PHP versions before 5.0.0 you must use ociresult() instead. This name still can be used, it was left as alias of oci_result() for downwards compatability. This, however, is deprecated and not recommended.

锟轿硷拷

  • oci_fetch_array() - Returns the next row from a query as an associative or numeric array
  • oci_fetch_assoc() - Returns the next row from a query as an associative array
  • oci_fetch_object() - Returns the next row from a query as an object
  • oci_fetch_row() - Returns the next row from a query as a numeric array
  • oci_fetch_all() - 锟斤拷取锟斤拷锟斤拷锟斤拷莸锟斤拷锟斤拷锟斤拷械锟揭伙拷锟斤拷锟斤拷锟�