ConFoo Montreal 2026: Call for Papers

Voting

: max(seven, four)?
(Example: nine)

The Note You're Voting On

andrea dot galli at acotel dot com
22 years ago
Example: function field name.

$Link_ID = odbc_connect("DSN", "user", "pass");

$query = "SELECT * FROM products";

$Query_ID = odbc_exec($Link_ID, $query);

while($field = $field_name($Query_ID ))
{
echo("Field: $field<br />\n");
}

---------------------

function field_name($PrQuery_ID)
{
if($Column < odbc_num_fields($PrQuery_ID))
{
$Column += 1;
$FieldName = odbc_field_name($PrQuery_ID, $Column);

return $FieldName;
}
else
{
return 0;
}
}

<< Back to user notes page

To Top