10 lines
191 B
PHP
10 lines
191 B
PHP
<?php
|
|
|
|
if ($this->is_id()) {
|
|
$delete_query = "DELETE FROM user_coach WHERE ua_id = " . $this->get_id() . ";";
|
|
$sql->execute_query($delete_query);
|
|
header("Location: /admin/coaches");
|
|
}
|
|
|
|
|
|
?>
|