source: Dev/trunk/rdfapi/util/adodb/tests/test5.php @ 12

Last change on this file since 12 was 12, checked in by basvannuland, 14 years ago

Added RAP RDF API
Added RDF reader writer for save and load survey

File size: 1.4 KB
Line 
1<?php
2/*
3V4.80 8 Mar 2006  (c) 2000-2007 John Lim (jlim#natsoft.com.my). All rights reserved.
4  Released under both BSD license and Lesser GPL library license.
5  Whenever there is any discrepancy between the two licenses,
6  the BSD license will take precedence.
7  Set tabs to 4 for best viewing.
8       
9  Latest version is available at http://adodb.sourceforge.net
10*/
11
12
13// Select an empty record from the database
14
15include('../adodb.inc.php');
16include('../tohtml.inc.php');
17
18include('../adodb-errorpear.inc.php');
19
20if (0) {
21        $conn = &ADONewConnection('mysql');
22        $conn->debug=1;
23        $conn->PConnect("localhost","root","","xphplens");
24        print $conn->databaseType.':'.$conn->GenID().'<br>';
25}
26
27if (0) {
28        $conn = &ADONewConnection("oci8");  // create a connection
29        $conn->debug=1;
30        $conn->PConnect("falcon", "scott", "tiger", "juris8.ecosystem.natsoft.com.my"); // connect to MySQL, testdb
31        print $conn->databaseType.':'.$conn->GenID();
32}
33
34if (0) {
35        $conn = &ADONewConnection("ibase");  // create a connection
36        $conn->debug=1;
37        $conn->Connect("localhost:c:\\Interbase\\Examples\\Database\\employee.gdb", "sysdba", "masterkey", ""); // connect to MySQL, testdb
38        print $conn->databaseType.':'.$conn->GenID().'<br>';
39}
40
41if (0) {
42        $conn = &ADONewConnection('postgres');
43        $conn->debug=1;
44        @$conn->PConnect("susetikus","tester","test","test");
45        print $conn->databaseType.':'.$conn->GenID().'<br>';
46}
47?>
Note: See TracBrowser for help on using the repository browser.