Yes, There are no odbc_fetch_array() function
included in PHP4.1.0, 4.0.6, 4.0.5, whatever.
Use these function to implement it.
function odbc_fetch_array($result)
{
if (odbc_fetch_row($result))
{
for ($i=0;$i<odbc_num_fields($result);++$i)
{
$rs[$i+1]=odbc_result($result,$i+1);
$rs[odbc_field_name($result,$i+1)]=odbc_result($result,$i+1);
}
return $rs;
}
return false;
}
and odbc_fetch_object is so on.
but I suggest you add the C function to PHP source before you compile. it will be faster than extern functions like this.