| Author | Post | |||
| aceldama     | may i also suggest the following: 
    <body>
        <?php
            $debugmode = isset($_GET['debug']);
            ....
            echo '<input type="submit" />';
            if ($debugmode) {echo('<input type="hidden" name="debug" value="1" />');}
            echo '</form>';
            echo '</tr></table>';
            echo implode("<br />",array_slice($data_array,10,13)).'<br/>';
            echo '<a href="./chess-client.php">Refresh</a>';
            if($debugmode){
                echo '<h1>Debug Information:</h1>';
                foreach($data_array as $x){
                    echo($x."<br />");
                }
            }
        ?>
    </body>
 | |||
|  Edited by aceldama on 14.08.2011 20:20:03 | ||||
|  14.08.2011 20:04:53 | 
 | |||
| aceldama     | bugfix: wrapper.inc.php line 7 should be if(!isset($_SESSION)){session_start();} | |||
|  Edited by aceldama on 14.08.2011 21:48:31 | ||||
|  14.08.2011 21:31:25 | 
 | |||
| moose       | Thanks, I've included your suggestions. | |||
|  15.08.2011 09:49:17 | 
 | |||
| gizmore3 [none yet] | Bauer auf E4 | |||
| 04.05.2021 20:31:50 | 
 | |||