Skip to content
Advertisement

Retrieving Last Inserted ROWID In PHP/OCI

Is it possible to retrieve the rowid of the last inserted Oracle row in PHP? I was trying:

JavaScript

With no luck. I’m getting the error define not done before fetch or execute and fetch at the fetch line.

Advertisement

Answer

Declare:

JavaScript

Use:

JavaScript

Bind your variable to a PHP variable:

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement