Forum Stats

  • 3,826,778 Users
  • 2,260,707 Discussions


Oracle resource connection reusablility after oci_execute() in PHP

edited Feb 8, 2017 3:37PM in PHP

I am trying to create a web application which needed to use the same data from the table twice in the application.

1) To create a Table

2) To create a chart

In order to do that I need to use the resource variable after executing twice. But after using OCI_FETCH_ASSOC once, the data is not fetchable next time.

In MYSQL there is an option to seek the resource to point at the beginning of the data. But in oracle i couldnot find that option. Please guide me to get out of this issue.


This discussion has been closed.