Changes in Dev/trunk/surveycreation.php [10:29]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/surveycreation.php
r10 r29 1 <?php require 'classes/master.php'; ?> 1 <?php 2 require 'classes/master.php'; 3 4 $savedSurvey = null; 5 6 if (isset($_POST['timeStamp'])) 7 { 8 $timeStamp = $_POST['timeStamp']; 9 10 var_dump($_POST); 11 echo '<br/><br/>'; 12 $surveyDBI = new SurveyDatabaseInterface(); 13 $surveyDBI->setSurveyInfo($_POST); 14 $info = $surveyDBI->getSurveyInfo(); 15 echo '<br/><br/>'; 16 var_dump($info); 17 18 $savedSurvey = Survey::getSurvey($info); 19 } 20 else { 21 $timeStamp = null; 22 } 23 24 ?> 2 25 3 26 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" … … 12 35 <body> 13 36 <div id="header"> 14 15 37 <div id="logo">CPSFacilitator Tool </div> 38 </div> 16 39 <div id="wrapper"> 17 40 18 41 <div id="content"> 19 42 <?php 20 new SurveyCreationTool(); 43 44 new SurveyCreationTool($savedSurvey, $timeStamp); 21 45 ?> 22 46 </div>
Note: See TracChangeset
for help on using the changeset viewer.