Notice: Array to string conversion in C:\xampp\htdocs\Employ\index.php on line 36 :   

  I want to insert data into the database using form but I'm getting error. What can I do to solve this? My code is follows
    
 
    
    I've tried several way to bug it but not working
    
   
    	$country = mysqli_real_escape_string($conn, $_POST['country']);
    	$zip = mysqli_real_escape_string($conn, $_POST['zip']);
    	$identity =($_FILES['identity']);
    	$fileName = $_FILES['identity']['name'];
    	$fileTmpName = $_FILES['identity']['tmp_name'];
    	$fileSize = $_FILES['identity']['size'];
    	$fileError = $_FILES['identity']['error'];
    	$fileType = $_FILES['identity']['type'];
    	$fileExt = explode('.', $fileName);
    	$fileActualExt = strtolower(end($fileExt));
    	$allow = array('jpg', 'jpeg', 'png',);
    	if (in_array($fileActualExt, $allow)) {
    		if ($fileError === 0) {
    			if ($fileSize < 1000000) {
    				$fileNameNew = uniqid('', true).".".$fileActualExt;
    				$fileDestination = 'uploads/'.$fileNameNew;
    				move_uploaded_file($fileTmpName, $fileDestination);
    
    				$sql = "INSERT INTO applicants (name, email, gender, dob, mobile, accounts, occupation, ssn, m_status, address1, address2, city, country, zip, identity) VALUES ('$name', '$email', '$gender', '$dob', '$mobile', '$accounts', '$occupation', '$ssn', '$m_status', '$address1', '$address2', '$city', '$country', '$zip', '$identity')";
    	$insert = mysqli_query($conn, $sql);