Hello
The following code displays all the records in one line.I would like to display them in a tabular format.
How can i do that?
<?php
$username = "SYSDBA";
$password = "masterkey";
$connection = @ibase_connect('localhost:C:\Myfile\Mydatabase.GDB', $username, $password);
if (!$connection)
{
exit ("Unable to connect to database: $connection");
}
$db = 'Select * from TBL_CUSTOMERS';
$bsc = ibase_query($connection, $db);
while ($row = ibase_fetch_row($bsc)) {
echo $row[0]. "\n";
echo $row[1]. "\n";
}
ibase_free_result($bsc);
ibase_close($connection);
?>
Thanks