<div class="row-fluid"> <div class="span4"> <!----- form ----> <form action="upload.php" method="post" enctype="multipart/form-data" name="upload"> <input name="uploaded_file" type="file" class="input-xlarge" required/> <input type="hidden" name="MAX_FILE_SIZE" value="1000000" /> <input type="text" name="fname" required> <br/> <input name="Upload" type="submit" value="Upload" class="btn btn-primary btn-large" /> </form> <!---- end form --> </div> <div class="span8"> <table class="table table-bordered"> <thead> <tr> </tr> </thead> <tbody> <?php $query=mysql_query("select * from up_files")or die(mysql_error()); while($row=mysql_fetch_array($query)){ ?> <tr> </tr> <?php } ?> </tbody> </table> </div> </div>