Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere PHP API » SQL Anywhere PHP API reference

 

sasql_field_count

Prototype
int sasql_field_count( sasql_conn $conn )
Description

Returns the number of columns (fields) the last result contains.

Parameters

$conn   The connection resource returned by a connect function.

Returns

A positive number of columns, or FALSE if $conn is not valid.