Example #1
0
    ?>
"/><input type="submit" name="edt" value="Edit"/></td></form>
				<form action="" method="post"><td><input type="hidden" name="hiddendelid" value="<?php 
    echo $specificLocation["id"];
    ?>
"/><input type="submit" name="del" value="Delete"/></td></form>
				</tr>
		<?php 
}
if (isset($_POST['edt'])) {
    $id = $_POST["hiddenedtid"];
    $locationObj->getSpecificSport($id);
}
if (isset($_POST['del'])) {
    $id = $_POST["hiddendelid"];
    $locationObj->deleteSport($id);
}
?>
        </table>
        </div>
        <!-- End main content -->
      </div><!-- /.content-wrapper -->
      <footer class="main-footer">
        <div class="pull-right hidden-xs">
          <b>Version</b> 2.3.0
        </div>
        <strong>Copyright &copy; 2014-2015 <a href="http://almsaeedstudio.com">Almsaeed Studio</a>.</strong> All rights reserved.
      </footer>

      <!-- Control Sidebar -->
      <aside class="control-sidebar control-sidebar-dark">