/[informatika.old]/html/odbc.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /html/odbc.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by dpavlin, Wed Apr 5 14:01:16 2000 UTC revision 1.4 by dpavlin, Tue Jun 27 13:50:57 2000 UTC
# Line 52  Line 52 
52          $oTest = new ODBCSocketServer;          $oTest = new ODBCSocketServer;
53    
54          //Set the Hostname, port, and connection string          //Set the Hostname, port, and connection string
55          $oTest->sHostName = "netmon.pliva.hr";  //        $oTest->sHostName = "hbreyer2.pliva.hr";
56            $oTest->sHostName = "tkcpdc.pliva.hr";
57          $oTest->nPort = 9628;          $oTest->nPort = 9628;
58          $oTest->sConnectionString = "DSN=imenik;UID=administrator;PWD=;";          $oTest->sConnectionString = "DSN=Imenik;UID=admin;PWD=admin";
59    
60          //now exec the SQL          //now exec the SQL
61          $sResult = $oTest->ExecSQL("SELECT * FROM kontakti");          $sResult = $oTest->ExecSQL("SELECT * FROM g1");
62    
63          //now format and print the results.  Subsititute in your code here!          //now format and print the results.  Subsititute in your code here!
64          //We will use the PHP XML Parser module to parse the result :)          //We will use the PHP XML Parser module to parse the result :)

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.26