|
EHC Club Manager
|
Variables | |
| $allowed_roles | |
| if(!in_array(true, $allowed_roles, true)) | $document_id = filter_input(INPUT_GET, 'document_id', FILTER_VALIDATE_INT) |
| if(! $document_id) | $mimeTypes |
| $stmt = $mysqli->prepare("SELECT file_path, file_name FROM person_documents WHERE document_id = ?") | |
| $result = $stmt->get_result() | |
| $allowed_roles |
| if (!in_array(true, $allowed_roles, true)) $document_id = filter_input(INPUT_GET, 'document_id', FILTER_VALIDATE_INT) |
| if (! $document_id) $mimeTypes |
| $result = $stmt->get_result() |
| $stmt = $mysqli->prepare("SELECT file_path, file_name FROM person_documents WHERE document_id = ?") |