Im trying to obtain a list of tables in a database.
To do this, ive come up with the following code.

$conn = odbc_connect("mydsn", "", "");
$tablelist = odbc_tables($conn);

while(odbc_fetch_row($tablelist)) {
        $tbname = odbc_result($tablelist, 3);
}

Now the page just times out.  I believe its to do with the odbc_fetch_row 
function and what type of input im giving it.

Any ideas?

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
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