<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
      <form action="<?= base_url()?>staff_ss" method="post"  enctype="multipart/form-data">       
    Staff name: <input type="text"  name="staff_name"><br><br>
     Designation: <input type="text"  name="designation"><br><br>
      Salary: <input type="text"  name="salary"><br><br>  
          <input type="file" name="photo" accept="image/*"><br><br>  
    <button type="submit">click</button>
</body>
</html>