odbc_free_result(): restore any resources. : odbc_free_result « MySQL Database « PHP






odbc_free_result(): restore any resources.

 
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);
?>
  
  








Related examples in the same category