<?php
/**
* EDIT TO ABOVE: The above mentions "ibase_fetch_object".
* In that case if should be using the object operator.
* Example below.
*/
$query = "SELECT * FROM EMPLOYEES";
$p_sql = ibase_prepare($query);
$result = ibase_execute($p_sql);
while($row = ibase_fetch_object($result)){
echo $row->FIRSTNAME;
}