odbc_fetch_row failure
| From: | mike luce | Date: | Fri, 09 Nov 2001 16:31:01 +0000 |
| Subject: | odbc_fetch_row failure | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-14195@lists.php.net to get a copy of this message | ||
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