update($HTTP_POST_VARS);
}
else
{
$table = "appCategory";
$query = "INSERT INTO $table VALUES(0, 'NONAME', null, 0)";
mysql_query("DELETE FROM $table WHERE catName = 'NONAME'");
if(debugging())
echo "$query
\n";
$t->create($query, $table, "catId");
}
apidb_footer();
?>