Kat's Photos |
|
$odbc = odbc_connect ('Kat_Photos', '', '') or die( "Could Not Connect to ODBC Database!" );
//following function is required for local copy
/*
function odbc_fetch_array($result, $rownumber=-1) {
if (PHP_VERSION > "4.1") {
if ($rownumber < 0) {
odbc_fetch_into($result, $rs);
} else {
odbc_fetch_into($result, $rs, $rownumber);
}
} else {
odbc_fetch_into($result, $rownumber, $rs);
}
$rs_assoc = Array();
foreach ($rs as $key => $value) {
$rs_assoc[odbc_field_name($result, $key+1)] = $value;
}
return $rs_assoc;
}*/
?>
GuestbookHere are the comments other people have left about this site Add an entry: |
|
Site developed by Nicola Buck & Maintained by Katherine Gordon