|
EHC Club Manager
|
Variables | |
| if(! $EHC_ADMIN) | $document_id = filter_input(INPUT_POST, 'document_id', FILTER_VALIDATE_INT) |
| if(! $document_id) | $user_name = $_SESSION['user_name'] ?? 'system' |
| $stmt = $mysqli->prepare("CALL doc_delete_person_document(?, ?)") | |
| $result = $stmt->get_result() | |
| if(! $result) | $row = $result->fetch_assoc() |
| if(! $row['result_success']) | $file_path = $row['file_path'] ?? '' |
| if (! $EHC_ADMIN) $document_id = filter_input(INPUT_POST, 'document_id', FILTER_VALIDATE_INT) |
| if (! $row[ 'result_success']) $file_path = $row['file_path'] ?? '' |
| $result = $stmt->get_result() |
| if (! $result) $row = $result->fetch_assoc() |
| $stmt = $mysqli->prepare("CALL doc_delete_person_document(?, ?)") |
| if (! $document_id) $user_name = $_SESSION['user_name'] ?? 'system' |