Example #1
0
<?php 
}
?>

<table id="box-table-a">	
<thead id="tablehead">
<tr>
<th scope="col">Name</th>
<th scope="col">Email</th>
<th scope="col">Delete</th>
</thead>
<?php 
$que = "select distinct groupName,level from Groups";
$res = execute($que);
while ($row = mysql_fetch_row($res)) {
    tBody($row[0], $row[1]);
    //	echo $row[0];
    //	echo $row[1];
}
?>

<?php 
mysql_close();
//closing
?>

</table>
</div>
<?php 
require_once 'footer.php';
?>
Example #2
0
                $val_length = strlen($d_val);
                $i = 0;
                while ($i++ < $tr_length) {
                    if ($i == 2) {
                        echo $d_val;
                        $i += $val_length - 1;
                    } else {
                        echo ' ';
                    }
                }
                echo '|';
            }
            echo PHP_EOL;
        }
    }
    echo PHP_EOL;
    ascLogo($table);
    line($table, '--  Exception Start  --');
    printf("\n Line: %s \n File: %s \n\n", $message['line'], $message['file']);
    th($table);
    thead($table);
    th($table);
    if (!empty($trace)) {
        foreach ($trace as $t) {
            tBody($t, $table);
            th($table);
        }
    }
    echo PHP_EOL;
    line($table, sprintf("--  Exception END  %s  --", date('Y-m-d H:i:s', time())));
}