PHP Oracle oci_num_rows result 0

后端 未结 3 391
别那么骄傲
别那么骄傲 2021-01-23 14:39

I have a question about query in Oracle :

The problem is, the result of oci_num_rows is always 0.

and here is my code so far :

  $qu         


        
3条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-23 14:42

    This function does not return number of rows selected! For SELECT statements this function will return the number of rows, that were fetched to the buffer with oci_fetch*() functions.

    Try this to check either your the credentials of your connection are correct or not.

    
    

提交回复
热议问题