简体   繁体   中英

Oracle different Results between sqldeveloper and PHP

i got a very interessting problem with Oracle and PHP. With PHP i didn't get actual data. I was able to do a update with the form, but still get the old data in the edit page and overview, with different Browser, without Cache on. In SQLdeveloper the data are right .... is there a problem with php and oracle ?

SQL开发者

的PHP

the problem was commit, there seems to be no autocommit with php

there is a php function for this

$r = oci_commit($conn);
if (!$r) {
    $e = oci_error($conn);
    trigger_error(htmlentities($e['message']), E_USER_ERROR);
}
oci_close($conn);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM