Does anybody know how i can connect a PHP web site to an OpenEdge Progress Database.

I have the following as a connection file that when I run it does not error but there is also nothing to say it has connected either.

I have System DSN 32bit ODBC connection call Live_Vision that I am calling.

<? 

  if ($conn_id=odbc_connect("Live_Vision","vision","vision", SQL_CUR_USE_ODBC)){

    echo "connected to DSN";

    if($result=odbc_do($conn_id, $sql)) {

    } else {

      echo "can not execute '$sql' ";

    }

    echo "closing connection $conn_id";

    odbc_close($conn_id);

    } else {

      echo " can not connect to DSN";
    }

?>