You are displaying each record in a single row in a table. Table rows are displayed horizontally.
If you want to display the records vertically, change the markup you are generating. For example:
<ul>
<?php foreach ($result as $file): ?>
<li>
<dl>
<dt>S.N.</dt>
<dd><?php echo $file['id']; ?></dd>
<dt>Title</dt>
<dd><?php echo $file['title']; ?></dd>
<dt>Grade</dt>
<dd><?php echo $file['grade']; ?></dd>
<dt>Notice Date</dt>
<dd><?php echo $file['date']; ?></dd>
<dt>Actions</dt>
<dd><a href="admin/uploads/School/admissionform/<?php echo $file['name']; ?>">...</a></dd>
</dl>
</li>
<php endforeach;?>
</ul>
Then use CSS to style the list to make it look like what you want.