<div class="main-menu">
       
        <div class="menu-container" style="padding: 0 1px;">
            
            <ul class="nav nav-pills flex-column questionColor">
                  <?php 
$i = 1;
$sql2 = "SELECT * FROM tbl_question_answer WHERE TestSeriesId='$testid' ORDER BY QueNo ASC";
$row2 = getList($sql2);
foreach($row2 as $result){
?>                     
                <li class="nav-item">
                    <a class="notvisited nav-link" id="question<?php echo $i;?>" href="javascript:void(0);" onclick="jumpQuestion(<?php echo $i;?>);previd(<?php echo $i;?>);clickQues();">
                   
                        <div>
                         
                           <?php echo $i;?>. <?php echo $result['ShortQues']; ?>
                        </div>
                        
                    </a>
                </li>
                   <?php $i++;}  ?>
                

            
            </ul>
            
        </div>

    </div>
    <div class="backdrop"></div>
