Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (isset($_POST['addPhotos'])) {
- $obj = new Photos();
- $objFaculty = new Faculties();
- $facultyId = $_POST['facultyId'];
- $faculty = $objFaculty->byId($facultyId);
- $specialty = $_POST['specialityId'];
- $photos = $_FILES['photoFile'];
- $obj->add($photos, $faculty);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement