num_rows !== 1) { echo "Requested experience does not exist."; exit(); } // IF EXPERIENCE DOESN'T BELONG TO USER (WHO IS NOT AN ADMIN), EXIT if($_SESSION['dbUserData']['admin'] !== '1') { $queryCheckUser = "SELECT id FROM experience WHERE id = '$experienceID' AND id IN (SELECT id_experience FROM researcher_experience WHERE id_researcher = '" . $_SESSION['dbUserData']['id_researcher'] . "');"; if(mysqli_query($connection, $queryCheckUser)->num_rows === 0) { echo "You are not authorized to view this experience."; exit(); } } // FETCH EXPERIENCE'S PROJECT ID $queryProject = "SELECT id_project FROM project_experience WHERE id_experience = '$experienceID';"; $resultProject = mysqli_query($connection, $queryProject); $rowProject = mysqli_fetch_assoc($resultProject); include_once 'header.php'; ?>
Description:
Type:
Duration: week 1) echo "s"; ?>
Questionnaire |
Questions |
---|---|
Moment |
Questions |
Date |
Answer Rate |
||
---|---|---|---|---|---|
Register students! |
strtotime('now')): ?>
Still not sent |
num_rows;
?>
Milestone |
Date |
---|---|