--- html/odbc.php 2000/04/05 14:01:16 1.1.1.1
+++ html/odbc.php 2000/06/27 13:50:57 1.4
@@ -52,12 +52,13 @@
$oTest = new ODBCSocketServer;
//Set the Hostname, port, and connection string
- $oTest->sHostName = "netmon.pliva.hr";
+// $oTest->sHostName = "hbreyer2.pliva.hr";
+ $oTest->sHostName = "tkcpdc.pliva.hr";
$oTest->nPort = 9628;
- $oTest->sConnectionString = "DSN=imenik;UID=administrator;PWD=;";
+ $oTest->sConnectionString = "DSN=Imenik;UID=admin;PWD=admin";
//now exec the SQL
- $sResult = $oTest->ExecSQL("SELECT * FROM kontakti");
+ $sResult = $oTest->ExecSQL("SELECT * FROM g1");
//now format and print the results. Subsititute in your code here!
//We will use the PHP XML Parser module to parse the result :)