The following php script is used to retrieve data from the database and display in a web page! i have used div tags but don't know how to display them inline how can i do that?

```
<?php
                require("includes/db.php");

                $sql="SELECT * FROM `order` ";
                $result=mysqli_query($db,$sql);

    echo"<div style='width:50px'>";
    echo "Order No.";
    echo"</div>";
    echo"<div style='width:50px'>";
    echo "NIC no";
    echo"</div>";
    echo"<div style='width:50px'>";
    echo "Delivery/Pickup";
    echo"</div>";
    echo"<div style='width:50px'>";
    echo "Address";
    echo"</div>";
    echo"<div style='width:50px'>";
    echo "Expect time";
    echo"</div>";
    echo"<div style='width:50px'>";
    echo "Telephone";
    echo"</div>";
    echo"<div style='width:50px'>";
    echo "Email";
    echo"</div>";
    echo"<div style='width:100px'>";
    echo "Prescription-1";
    echo"</div>";
    echo"<div style='width:100px'>";
    echo "Prescription-2";
    echo"</div>";
    echo"<div style='width:100px'>";
    echo "Prescriptions-3";
    echo"</div>";

    while($row=mysqli_fetch_array($result))
    {

       echo"<div style='width:50px'>";
        echo $row["OrderNo."];
         echo"</div>";
          echo"<div style='width:50px'>";
        echo $row["NIC"];
         echo"</div>";
          echo"<div style='width:50px'>";
        echo $row["DP"];
         echo"</div>";
          echo"<div style='width:50px'>";
        echo $row["Address"];
         echo"</div>";
          echo"<div style='width:50px'>";
        echo $row["DPTime"];
         echo"</div>";
          echo"<div style='width:50px'>";
        echo $row["Telephone"];
         echo"</div>";
          echo"<div style='width:50px'>";
        echo $row["Email"];
         echo"</div>";
         echo"<div style='width:100px'>";
       echo '<a href='.( $row['Image1'] ).' >';
       echo "<img src='" .$row['Image1']. "' height='200' width='200'/>";
        echo "</a>";
         echo"</div>";

       echo"<div style='width:100px'>";
       echo '<a href='.( $row['Image1'] ).' >';
       echo "<img src='" .$row['Image1']. "' height='200' width='200'/>";
        echo "</a>";
         echo"</div>";

       echo"<div style='width:100px'>";
       echo '<a href='.( $row['Image1'] ).' >';
       echo "<img src='" .$row['Image1']. "' height='200' width='200'/>";
        echo "</a>";
         echo"</div>";
    }
       ?> 

```

Also i want to display the set of lines after the while loop in a separate line! how can i do them?