September 2001
Intermediate to advanced
768 pages
32h 45m
English
mixed odbc_result(resource result, mixed field)
Displays query data.
Returns:
Field contents; FALSE on error
Description:
Returns the contents of a field specified by the field name or field offset in a result set.
Version:
Existing since version 3.0.6
Example:
$db = odbc_connect("DSN","user","pass");
$result = odbc_exec($db,"SELECT LastName FROM Employees ORDER BY LastName");
while (odbc_fetch_row($result)) {
echo odbc_result($result,"LastName");
}
|
Read now
Unlock full access