Problem solved!
You have an error on page odbc_driver.inc
#############
if($this->persistent == 1)
{
$this->connectionId = odbc_pconnect( $this->host, $this->username, $this->password );
}
else
{
$this->connectionId = @odbc_connect( $this->host, $this->username, $this->password, $this->forcenewconnection);
}
#############
MUST BE
#############
if($this->persistent == 1)
{
$this->connectionId = odbc_pconnect( $this->host, $this->username, $this->password );
}
else
{
$this->connectionId = @odbc_connect( $this->host, $this->username, $this->password );
}
#############
resource odbc_connect ( string $dsn , string $user , string $password [, int $cursor_type ] )
cursor_type
This sets the type of cursor to be used for this connection. This parameter is not normally needed, but can be useful for working around problems with some ODBC drivers.
The following constants are defined for cursortype:
SQL_CUR_USE_IF_NEEDED
SQL_CUR_USE_ODBC
SQL_CUR_USE_DRIVER
Regards