hmm...i'm confused.
well, let me try to explain you further.I have a test1.php and i included this in main.php.Test 1.php has all my form fields.
This is the code which i used to connect to my db and querying the records.It's working fine and now how should i fix this code and loop it to my form fields.
$username = "SYSDBA";
$password = "masterkey";
$connection = @ibase_connect('localhost:C:\newfolder\database.GDB', $username, $password);
if (!$connection)
{
exit ("Unable to connect to database: $connection");
}
$db = 'Select * from TBL_MYTABLE';
$abc = ibase_query($connection, $db);
while ($row = ibase_fetch_row($abc)) {
echo $row[1];
}
ibase_free_result($abc);
ibase_close($connection);
Thanks for your suggestions