Andrew, there is a error in your example code. (http://
andrewplummer.com/code/tablegear/docs2.html)
<?php
include "TableGear.php";
$tg = new TableGear(array(
"database" => array(
"username" => "USERNAME",
"password" => "PASSWORD",
"database" => "DATABASE",
"table" => "TABLE"
),
"editable" => "all",
"sortable" => "all"
);
$tg->getTable();
?>
<script type="text/javascript" src="MooTools.js"></script>
<script type="text/javascript" src="TableGear.js"></script>
<script type="text/javascript">
new TableGear("tgTable");
</script>
The new TableGear needed to closed. So that the code looks like
"sortable" => "all"
));