Thx 🙂
But i still got this error :
88 // this is the id, passed from previous form
Warning: ibase_query(): Dynamic SQL Error SQL error code = -104 Token unknown - line 1, char 35 $ in c:\rsim\bp\hsr_d.php on line 6
Warning: ibase_fetch_object(): supplied argument is not a valid InterBase result resource in c:\rsim\bp\hsr_d.php on line 7
Warning: ibase_free_result(): supplied argument is not a valid InterBase result resource in c:\rsim\bp\hsr_d.php on line 11
Here's my code :
<? echo $id;
$stmt = 'SELECT * FROM hsr_d where hsrid = $id';
$sth = ibase_query($dbh, $stmt);
$row = ibase_fetch_object($sth);
echo "<tr><td>$row->HSRID</td></tr>";
ibase_free_result($sth);
ibase_close($dbh);
?>
Familiar with this error ? 🙂 It's not easy to deal with interbase i guess. Mysql still the best for PHP.
Ika