Here is where I think its going wrong?
Quote:
// split into text and params
$this->_sqlSplit = preg_split(
"/(\?|\:[a-z]+)/",
$sql,
-1,
PREG_SPLIT_DELIM_CAPTURE|PREG_SPLIT_NO_EMPTY
);
// map params
$this->_sqlParam = array();
foreach ($this->_sqlSplit as $key => $val) {
if ($val[0] == ':' || $val[0] == '?') {
$this->_sqlParam[] = $val; // key *2 +1 is the parsed position
}
}
// set up for binding
$this->_bindParam = array();
|
Somehow the Db2 Parms get read in the wrong order? I was wondering if I should just change the order and see what happens?
What do you think?
Chris...