Its syntax is: int odbc_free_result (int result_id)
<?
$connect = @odbc_connect("myAccessDB", "user", "secret") or die("Could not connect to ODBC database!");
$query = "SELECT * FROM customers";
$result = odbc_exec($connect, $query) or die("Couldn't execute query!");
odbc_result_all($result, "BGCOLOR='#c0c0c0' border='1'")
odbc_free_result($result); odbc_close($connect);
?>
|