Ignore:
Timestamp:
01/06/12 10:24:45 (13 years ago)
Author:
cartis
Message:

Got latest classes from trunk & update 05-12-2012

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/Cartis/selectSession.php

    r197 r207  
    3636
    3737if (isset($_POST['deleteSession'])) {
    38     if (isset($_POST['sessionUid'])) {
     38    if (isset($_POST['sessionUID'])) {
    3939        //Kan de database al objecten verwijderen?
    4040    }
     
    4242
    4343if (isset($_POST['editSession'])) {
     44        var_dump($_POST);
    4445    if (isset($_POST['sessionUid'])) {
    4546        $session_results = $dbi->get("SESSION", array("uid" => $_POST['sessionUid']));
     47                var_dump($session_results);
    4648        if (count($session_results) == 1 && $session_results[0] != null) {
    4749            // DEZE SESSION MOET UITEINDELIJK EEN POST WORDEN, WANNEER DEZE HELE PAGINA IS OVERGEZET IN JAVASCRIPT!
     
    5557//Get available sessions for current user
    5658//$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...
    5960?>
    6061
     
    7071    <body>
    7172        <div id="header">
    72             <?php new Logo(); ?>         
     73            <?php new Logo(); ?>
    7374        </div>
    74           <a href="aapje.php">Ga naar Data selection</a>
    7575
    7676        <div id="wrapper">
     
    117117            </div>
    118118        </div>
    119                        
    120119    </body>
    121120</html>
Note: See TracChangeset for help on using the changeset viewer.