<button class="ui green button" id="new_sec">Add new section</button><br><br> <table class="ui definition selectable single line table"> <thead> <tr> <th></th> <th>Name</th> <th>Acronym</th> <th>Questions</th> <th class="right aligned">Delete</th> </tr> </thead> <tbody> <?php foreach ($sections as $sec) { $i++; $qs_count = QNA::get_questions_count($sec['id']); ?> <tr id="<?php echo $sec['id']; ?> "> <td><?php echo $i; ?> </td> <td><?php echo $sec['title']; ?> </td> <td><?php echo $sec['acronym'];