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.

  $con = odbc_connect("mydatabase", "christopher", "");
  $result = odbc_columns($con, "mydatabase", "dbo", "dtproperties");

  // this works!

  // but this doesn't.
  while (odbc_fetch_row($result))
   echo odbc_result($result, COLUMN_NAME);

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