count results PHP-OCI
752674Apr 13 2010 — edited Apr 22 2010Hi I am working on PHP & OCI with Oracle 10g as backend.
All I need is to show the number of results returned by using "SELECT" (NOT for delete/create/edit).
I tried fetch_all(), But I could not quite get it..
here are my qs:
Should I use-oci_fetch_all() ??? if so what is $res in here: $nrows = oci_fetch_all($stid, $res);
Please help me..
Thanks