Changeset 138 for Dev/branches/jos-branch/testpage.php
- Timestamp:
- 10/24/11 16:33:44 (14 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/jos-branch/testpage.php
r132 r138 3 3 4 4 $db = new DatabaseInterface(); 5 $result = $db->get(" user", array("name" => "jkraaijeveld"));5 $result = $db->get("survey", array("questions" => array("q4"))); 6 6 print_r($result); 7 8 // Create new application and save it in database9 $newApp = new Application(null, "Titel", "Beschrijving", "Stijl");10 $db->set(newApp);11 12 //Retrieve all Questions13 $results = $db->get("question", array());14 15 //Batchsave all results16 $db->set($results);17 7 ?>
Note: See TracChangeset
for help on using the changeset viewer.