Re: [PHP-DB] OCI 8 and rowid cause SIGSEGV

2001-02-24 Thread Sven Voigt
This is what I thought of: 1.) select foo, bar, rid from masterdata 2.) let user select data set to update with 'update.php?rowid=ROWID' 3.) write changes to database: update foo, bar values (FOO, BAR) where rowid=ROWID' And what's about that colon? Is there any special mean

[PHP-DB] OCI 8 and rowid cause SIGSEGV

2001-02-23 Thread SVEN . VOIGT
Hi there! I am using the following code on SuSE 6.4, Apache 1.3.14 and PHP 4.0.4: # $sql is dyanmically built, e.g. $sql = "select foo, bar, :rid from masterdata"; $db = OCILogOn("picht","picht"); $stmt = OCIParse($db, $sql); $rowid = OCINewDescriptor($db,OCI_D_ROWID); OCIBindByName($stmt,":