Ignore:
Timestamp:
10/24/11 13:47:23 (14 years ago)
Author:
jkraaijeveld
Message:

Added support for questions and users

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/jos-branch/testpage.php

    r128 r130  
    1 <?php
    2         require 'classes/master.php';
    3         require 'rdfConstants.php';
     1<?php
     2    require 'classes/master.php';
    43
     4    $db = new DatabaseInterface();
     5//    $arguments = array("id" => "c571ae05fa6e69ad63a8793f1484206e");
    56
    6        
    7         $di = new DatabaseInterface();
    8        
    9        
    10         $args = array("description" => "test");
    11         $apps = $di->get("application", $args);
    12         $app = $apps[0];
    13         $app->title = "Sup, testing if the title changes properly.";
    14         $di->set($app);
    15 
     7   
     8   
     9    $result = $db->get("user", array("name" => "jkraaijeveld"));
     10    print_r($result);
    1611?>
Note: See TracChangeset for help on using the changeset viewer.