Changeset 207 for Dev/branches/Cartis/selectSession.php
- Timestamp:
- 01/06/12 10:24:45 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/Cartis/selectSession.php
r197 r207 36 36 37 37 if (isset($_POST['deleteSession'])) { 38 if (isset($_POST['sessionU id'])) {38 if (isset($_POST['sessionUID'])) { 39 39 //Kan de database al objecten verwijderen? 40 40 } … … 42 42 43 43 if (isset($_POST['editSession'])) { 44 var_dump($_POST); 44 45 if (isset($_POST['sessionUid'])) { 45 46 $session_results = $dbi->get("SESSION", array("uid" => $_POST['sessionUid'])); 47 var_dump($session_results); 46 48 if (count($session_results) == 1 && $session_results[0] != null) { 47 49 // DEZE SESSION MOET UITEINDELIJK EEN POST WORDEN, WANNEER DEZE HELE PAGINA IS OVERGEZET IN JAVASCRIPT! … … 55 57 //Get available sessions for current user 56 58 //$sessions = $dbi->get("Session", array("creator"=>$_SESSION['username'])); //This does not work, session.php does not yet have a property 'creator' 57 $sessions = $dbi->get("Session", array()); // Let's just load everything then... 58 //var_dump($sessions); 59 $sessions = $dbi->get("Session"); // Let's just load everything then... 59 60 ?> 60 61 … … 70 71 <body> 71 72 <div id="header"> 72 <?php new Logo(); ?> 73 <?php new Logo(); ?> 73 74 </div> 74 <a href="aapje.php">Ga naar Data selection</a>75 75 76 76 <div id="wrapper"> … … 117 117 </div> 118 118 </div> 119 120 119 </body> 121 120 </html>
Note: See TracChangeset
for help on using the changeset viewer.