Re: Metabase with ODBC error message

From: Date: Tue, 16 Oct 2001 05:31:47 +0000
Subject: Re: Metabase with ODBC error message
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-71174@lists.php.net to get a copy of this message
As a follow up, I've managed to get the metabase_odbc.php file working now, but with a few changes. One of which is listed below: Original Code: if(!odbc_fetch_into($result,$this->current_row[$result_value]+2+$first,$this ->results[$result_value][$this->current_row[$result_value]+1])) { $this->rows[$result_value]=$this->current_row[$result_value]+1; $this->last_error="could not fetch the query result row"; return(0); } Replacement Code: $x_tmp; $y_tmp; if(!odbc_fetch_into($result,$x_tmp,$y_tmp)) { $this->rows[$result_value]=$this->current_row[$result_value]+1; $this->last_error="could not fetch the query result row"; return(0); } $this->current_row[$result_value]+2+$first = $x_tmp; $this->results[$result_value][$this->current_row[$result_value]+1] = $y_tmp; Is this in fact a bug in Metabase, or is there something funny about my PHP setup (4.06)?

« previous php.general (#71174) next »