update($HTTP_POST_VARS); } else { $table = "appCategory"; $query = "SELECT * FROM $table WHERE catId = $catId"; if(debugging()) echo "$query

\n"; $t->edit($query); } apidb_footer(); ?>