I followed the documentation on interbase.  I have the following code:

<?php
    $rowcount = 0;    $dbh = ibase_connect ($host, $username, $password);
    $stmt = 'SELECT * FROM contact';
    $sth = ibase_query ($dbh, $stmt);
    while ($row = ibase_fetch_object ($sth)) {
        print $row->lastname . "\n";        $rowcount = $rowcount+1;
    }
    echo $rowcount;    ibase_close ($dbh);
?>
$rowcount gave me the correct number of rows but referenceto any field name
does not show anything.  I tried uppercaseand it still does not show
anything.  Anything that I am missing?
Thanks in advance,
George




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to