如何删除dropzone的表单标记后的新行

here is my html and css code:

<div class="divphotos">
     <form action="upload.php" class="dropzone" id="mydropzone" ></form>
     <div id="divphotos-content" >
           <?php
                require 'getimages.php'; 
            ?>
      </div>
</div>

css :

#mydropzone {
    width:130px;
    height:130px;
    border: 2px dashed black;
    display:inline-block;
}

I have tried inline and inline-block but the drop zone always makes a new line like this : enter image description here

edit

here is getimages.php:

<?php
// Include the database configuration file
require 'dbConfig.php';

// Get files from the database
$query = $db->query("SELECT * FROM files ORDER BY id DESC");

if($query->num_rows > 0){
    while($row = $query->fetch_assoc()){
        $filePath = 'images/jill_photos/'.$row["file_name"];
        $fileMime = mime_content_type($filePath);
    ?>
        <img src="<?php echo $filePath; ?>" width="130px" height="130px" />
    <?php 

}
}else{ 
        ?>
                <p>No file(s) found...</p>
        <?php
} 
?>

thank you for your help.