update($_POST); } else { $table = "appCategory"; $query = "SELECT * FROM $table WHERE catId = $catId"; if(debugging()) echo "$query \n"; $t->edit($query); } apidb_footer(); ?>