The column number starts at zero.
The number of columns may be obtained by a call to the (undocumented) function:
$ncols=ora_numcols($cur);
after ora_exec($cur) has been performed.
Correction:
ora_numrows($cur); returns the current row number.
To find out how many rows you will have, you need to do a 'select count(*)...' query first and read back the result.