Forum Stats

  • 3,826,778 Users
  • 2,260,707 Discussions
  • 7,897,072 Comments

Discussions

Oracle resource connection reusablility after oci_execute() in PHP

726afc3e-53a3-41cd-be03-ba263bc3990b
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.

Answers

This discussion has been closed.