Topic: "TBS chess?" (page 6 of 6)

< 1 2 3 4 5 6
Author Post
aceldama
groupmastergroupmastergroupmastergroupmaster
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
private message
aceldama
groupmastergroupmastergroupmastergroupmaster
bugfix: wrapper.inc.php line 7 should be
if(!isset($_SESSION)){session_start();}
Edited by aceldama on 14.08.2011 21:48:31
private message
moose
groupmastergroupmastergroupmastergroupmastergroupmastergroupmaster
Thanks, I've included your suggestions.
private message EMail Website

Topic: "TBS chess?" (page 6 of 6)

< 1 2 3 4 5 6