What interface are you using to Oracle? OCI, Ora, or ODBC? I know PHP has the OCI library calls and the ORA library calls, I think OCI is more of a standard. Have you tried the PHPLIB DB abstraction Layer? It might put the calls in more generic terms so you don't have to focus on Oracle as much. (Plus it's better application design).