how to sum tow $row echo results and show in text box

i need to sum two echo values that fetch by data base according to a specific id.i need to sum the value that i get from database sql (id=”soil_value_id” and id=”land_extent_id” ) it have to be automatically showing in a text box . please help me thank you 🙂


                
                
<?php 
$con = mysqli_connect("localhost","root","","loan_db");
                                  
 {
$stud_id = $_POST['borrower_id']  ;

$query = "SELECT * FROM borrowers WHERE id='$stud_id' ";
$query_run = mysqli_query($con, $query);

if(mysqli_num_rows($query_run) > 0)
{
foreach($query_run as $row)
                                            
{
 ?>
                                                
                                                    
                                                    

<label for=""style="color: #1b78c9"><b> soil type value  </b></label>
<input type="number" id="soil_value_id" value="<?= $row['soil_value']; ?>" disabled/>
                                              

<label for=""style="color: #1b78c9"><b>  land extent </b></label>
<input type="number" id="land_extent_id" value="<?= $row['land_extent']; ?>" disabled/>
                            
                                                    


                                                    </div>