Changeset 50 for Dev/trunk/surveycreation.php
- Timestamp:
- 07/25/11 17:45:22 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/surveycreation.php
r44 r50 4 4 $savedSurvey = null; 5 5 $timeStamp = null; 6 var_dump($_POST);6 //var_dump($_POST); 7 7 8 8 /* LOAD SURVEY */ … … 11 11 $surveyDBI = new SurveyDatabaseInterface($surveyID); 12 12 $info = $surveyDBI->getSurveyInfo(); 13 13 14 14 $savedSurvey = Survey::getSurvey($info); 15 15 } 16 16 17 /* AUTOSAVE */ 18 else if (isset($_POST['timeStamp'])) { 17 /* AUTOSAVE */ else if (isset($_POST['timeStamp'])) { 19 18 $timeStamp = $_POST['timeStamp']; 20 19 21 echo 'This is what gets sent:';22 var_dump($_POST);23 echo '<br/><br/>';20 // echo 'This is what gets sent:'; 21 // var_dump($_POST); 22 // echo '<br/><br/>'; 24 23 $surveyDBI = new SurveyDatabaseInterface($_POST['surveyID']); 25 24 $surveyDBI->setSurveyInfo($_POST); 26 25 $info = $surveyDBI->getSurveyInfo(); 27 echo '<br/><br/>';28 echo 'This is what I get back:';29 var_dump($info);26 // echo '<br/><br/>'; 27 // echo 'This is what I get back:'; 28 // var_dump($info); 30 29 31 30 $savedSurvey = Survey::getSurvey($info); … … 49 48 50 49 <div id="content"> 51 52 53 50 <?php 51 new SurveyCreationTool($savedSurvey, $timeStamp); 52 ?> 54 53 </div> 55 54 </div>
Note: See TracChangeset
for help on using the changeset viewer.