<?php
header('Content-Type: text/html, charset=utf-8');
$con = odbc_connect('lptest2','',''); 

if ($con)
{
  echo "odbc connected<br>";
  $utf = "SET NAMES utf8";
  $sql =  "select test FROM test test = 37";

	$exc = odbc_exec($con,$sql);  
}
else
  echo "odbc not connected<br>";
 
$field=odbc_result($exc,1); 

echo "$field";
       
?>
