602SQL Documentation Index  

wb_num_fields

PHP

integer wb_num_fields( resource cursor )


Parametry

cursor
Identifier of an opened cursor, get by calling the wb_exec or wb_psql_execute function.


Popis

This function returns the number of columns in the opened cursor



Návratová hodnota

Number of the cursor column, or -1 if an error occurs