PHP : Function Reference : Firebird/InterBase Functions : ibase_fetch_assoc
karasek ... ceskyserver - dot - cz
Unlike mysql_fetch_assoc, all indexes of associative array are upper-case.
so, use
$row = ibase_fetch_assoc($result);
echo $row["INDEX"];
not
echo $row["index"];
sir_fred@
If your php is older than version 4.3.0, you can use the following:
$arr_record = get_object_vars(ibase_fetch_object($sql_result));
which is the same as: $arr_record = ibase_fetch_assoc($sql_result);
|