[PHP-DB] Return Row count with OCI

2001-05-22 Thread Worawisut Pinyoyang
To all PHP-db guruz! I'm novice on Oracle(OCI).In mysql has mysql_num_rows(). When i try to find OCI function about num rows i see OCIRowCount(). But in the manual told me that it cannot use with select statement. How can i know the number of selected row? Thanks in advance -Worawisut

[PHP-DB] Need help again with num rows

2001-05-23 Thread Worawisut Pinyoyang
I try to get number of row by using OCIFetchStatement() .It returns the number of selected rows. But problem was still. The Statements in while loop (see my code below) was not execute and the word Hello don't print out. Can anyone help me please? My Code: ?php