SHARE
TWEET

Untitled

a guest Oct 21st, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. if (isset($_POST['addPhotos'])) {
  3.     $obj = new Photos();
  4.     $objFaculty = new Faculties();
  5.     $facultyId = $_POST['facultyId'];
  6.     $faculty = $objFaculty->byId($facultyId);
  7.     $specialty = $_POST['specialityId'];
  8.     $photos = $_FILES['photoFile'];
  9.     $obj->add($photos, $faculty);
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top