note 72531 added to function.odbc-columns
| From: | Artur at osu1 dot php dot net | Date: | Tue, 23 Jan 2007 14:15:52 +0000 |
| Subject: | note 72531 added to function.odbc-columns | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-122072@lists.php.net to get a copy of this message | ||
This is the only way I could actually get field names using odbc_columns. Hope it will be usefull
for someone.
$result = odbc_columns($odbc,$dbhost,"dbo", "KIR_ViolationDetail");
while (odbc_fetch_row($result))
{
echo odbc_result($result,"COLUMN_NAME");
}
----
Server IP: 64.71.164.2
Probable Submitter: 64.236.128.27
----
Manual Page -- http://www.php.net/manual/en/function.odbc-columns.php
Edit -- https://master.php.net/note/edit/72531
Del: integrated -- https://master.php.net/note/delete/72531/integrated
Del: useless -- https://master.php.net/note/delete/72531/useless
Del: bad code -- https://master.php.net/note/delete/72531/bad+code
Del: spam -- https://master.php.net/note/delete/72531/spam
Del: non-english -- https://master.php.net/note/delete/72531/non-english
Del: in docs -- https://master.php.net/note/delete/72531/in+docs
Del: other reasons-- https://master.php.net/note/delete/72531
Reject -- https://master.php.net/note/reject/72531
Search -- https://master.php.net/manage/user-notes.php