Using "OCIBindByName($stmt,$bindname,&${"bindval$ci"},-1);" probably gives
a warning that call-time pass-by-reference has been deprecated.
The OCIBindByName manual entry at
http://www.php.net/manual/en/function.ocibindbyname.php
has a user comment from "alexander dot zimmer at gmx dot at" that thi
Sorry about replying to my own posts, but...
Problem solved!
As OCIBindByName is binding to the actual variable, that variable must
not be changed.
I modified my script to look like this:
---***---
$ci=0;
foreach ($bindargs as $bindname => $bindvalue){
${"bindval$ci"}=$bindvalue;
OCIBindByNam