PHP : Function Reference : Oracle Functions [deprecated] : ora_numcols
tim dot mcguire
I would like to correct the above documentation. I am able to get results from ora_numcols after a parse & exec sequence and before a fetch:
ora_parse($curs,$query);
ora_exec($curs);
$numfields = ora_numcols($curs);
for($col=0;$col<$numfields;$col++){
echo ora_columnname($curs,$col);
}
while(ora_fetch($curs)){
etc.........................
}
|
|