i have error regarding the addition of select or dropdown with options inside the php $output . Here is the code: : Please help me with this code.. I have to give an dropdown . now when i select a dropdown and submit it in my db the entire text that is : "Open this select menu
 One
 Two
 Three" is coming. i only want the text which i select from dropdown

Ive tried many solutions from stack overflow related to this but everything doesnt work for me. please help me with this specefic code. iam just a begineer in php.

 ```   


$rows = mysqli_num_rows($result);
 if($rows > 0)  
 {  
	  if($rows > 10)
	  {
		  $delete_records = $rows - 10;
		  $delete_sql = "DELETE FROM tbl_sample LIMIT $delete_records";
		  mysqli_query($connect, $delete_sql);
	  }
      while($row = mysqli_fetch_array($result))  
      {      
           $output .= '  
                <tr>  
             
                     <td class="first_name" data-id1="'.$row["id"].'" contenteditable>'.$row["first_name"].'</td>  
                     <td class="last_name" data-id2="'.$row["id"].'" contenteditable>'.$row["last_name"].'</td>  
                     <td><button type="button" name="delete_btn" data-id3="'.$row["id"].'" class="btn btn-xs btn-danger btn_delete">x</button></td>  
                </tr>  
           ';  
      }  
   

//Main code here...  //
   $output .= '  
           <tr>  
                
                <td id="first_name" contenteditable>
<select class="custom-select" multiple>
  <option selected>Open this select menu</option>
  <option value="1">One</option>
  <option value="2">Two</option>
  <option value="3">Three</option>
</select>
   </td>  
                <td id="last_name" contenteditable></td>  
                <td><button type="button" name="btn_add" id="btn_add" class="btn btn-xs btn-success">+</button></td>  
           </tr>  
      ';  
 }
 else  
 {  
      $output .= '
				<tr>  
					
					<td id="first_name" contenteditable></td>  
					<td id="last_name" contenteditable></td>  
					<td><button type="button" name="btn_add" id="btn_add" class="btn btn-xs btn-success">+</button></td>  
			   </tr>';  
 }  
 $output .= '</table> 
      </div>';  
 echo $output;  
 ?>   ```