I am trying to get the column names of some tables with odbc_columns from
MSSQL 2000.
As I extract a particular column from the result set, the browser hangs.
<html>
<body>
<?
$con = odbc_connect("mydatabase", "christopher", "");
$result = odbc_columns($con, "mydatabase", "dbo", "dtproperties");
// this works!
odbc_result_all($result);
// but this doesn't.
/*
while (odbc_fetch_row($result))
echo odbc_result($result, COLUMN_NAME);
*/
?>
</body>
</html>
--
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]