Include this function:
function odbc_fetch_array($odbcResID) {
while(odbc_fetch_row($odbcResID)) {
$odbcFieldNum=1;
while($odbcFieldNum<=odbc_num_fields($odbcResID)) {
$odbcFieldName=odbc_field_name($odbcResID,$odbcFieldNum);
$odbcResArr[$odbcFieldName]=odbc_result($odbcResID,$odbcFieldNum);
$odbcFieldNum++;
}
return $odbcResArr;
}
}
The internal odbc_fetch_array is not yet implemented. I'm not sure why it's documented.
Please post more info regarding the error messages you are recieving for the odbc results and what version of windows your running. Are the Acess db and apache server all on the same machine?
To acess odbc drivers from php/apache on a windoze machine, the odbc driver must be SYSTEM, not user.