Without html it works great! When I start the php part with C:\Intepub\Localhost[name].php it works! When I make a link to the above php file from another html page it also doesn't work.
CODE:
<head>
<title>New Page 2</title>
</head>
<body>
<?php
$connect = odbc_connect("bv", "sa", "");
$query = "SELECT * FROM phonebk";
$result = odbc_do($connect, $query);
print("<TABLE BORDER=0>");
while(odbc_fetch_row($result))
{
print("<TR>");
$name = odbc_result($result, 1);
$nummer = odbc_result($result, 3);
$ov = odbc_result($result, 5);
$ove = odbc_result($result, 7);
$over = odbc_result($result, 14);
print("<TD>$name</TD> <TD>$nummer</<TD> <TD>$ov</TD> <TD>$ove</TD> <TD>$over\n</TD>");
print("</TR>");
}
print("</TABLE>\n");
// close the connection
odbc_close($connect);
?>
</body>