hey everyone....
here is the code..
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>php_access database</title>
</head>
<body>
This is the output from the database
<?
$connect = odbc_connect("kfvc", "", "" <<<line 16
$query = "SELECT user FROM test";
$result = odbc_exec($connect, $query);
while(odbc_fetch_row($result)){
$user = odbc_result($result, 1);
print("$user \n"
}
odbc_close($connect);
?>
<p>
</body>
this is the error the page returns....
Warning: SQL error: , SQL state 00000 in SQLConnect in c:\inetpub\ on line 16
and i think i have tried everything...bear with me
any help would be sooo appreciated
Paul
here is the code..
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>php_access database</title>
</head>
<body>
This is the output from the database
<?
$connect = odbc_connect("kfvc", "", "" <<<line 16
$query = "SELECT user FROM test";
$result = odbc_exec($connect, $query);
while(odbc_fetch_row($result)){
$user = odbc_result($result, 1);
print("$user \n"
}
odbc_close($connect);
?>
<p>
</body>
this is the error the page returns....
Warning: SQL error: , SQL state 00000 in SQLConnect in c:\inetpub\ on line 16
and i think i have tried everything...bear with me
any help would be sooo appreciated
Paul