What would be the syntax for "
$dish[$i][$j]=$_post[$ds];" ? it's returning error "Undefined variable: _post in C:\wamp64\www\pizzeria\checkout.php on line 18"
<?php
$ftable="SELECT * FROM dish Group By DishType";
            $ftableq=mysqli_query($con,$ftable); 
            if(isset($ftableq)){
            while($frows=mysqli_fetch_assoc($ftableq))
            {$i=1;
              $dt=$frows['DishType'];
              $dtable="SELECT * FROM dish where DishType='$dt'";
            $dtableq=mysqli_query($con,$dtable); 
            if(isset($dtableq)){
            while($drows=mysqli_fetch_assoc($dtableq))
            {$j=1;
                $ds=$drows['DishName'];
                echo $ds;
                $dish[$i][$j]=$_post[$ds];
               
                ?>
                <html>
                <head></head>
                <body>
                    
                    <label><?php echo $dish[$i][$j];?></label>
                    
                    </form>
                </body>
                </html>
                <?php 
                $j=$j+1;
            }}
            $i=$i+1;
        }}
?>