Subject Strange browser error
Author Sakhile Njoko
I am using PHP and Apache 2.2 on win7 Pro and using browsers IE8 and Firefox 5.0. I keep getting the error "Object required" and when I use the Firfox error console it says there is a syntax error. I have even created a simple script (in trying to locate the source of the problem), which executes successfully but the error console still says there is a syntax error. Following is the simple script:
 
filename: test.php
<?php
 $db="localhost:C:\Program Files\Apache Software Foundation\Apache2.2\dbs\TEST.FDB";
 $user="admin";
 $pswd="apass";
 $tt=ibase_connect($db,$user,$pswd);
 $qry="select * from DPMT";
 $rsl=ibase_query($qry);
 while ($rec=ibase_fetch_object($rsl)) {
  echo $rec->DPTNM."<br />";
 }
?>
 
What am I missing?

[Non-text portions of this message have been removed]