PHP/MySQL Database/odbc free result
Версия от 10:37, 26 мая 2010; (обсуждение)
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);
?>