mardi 18 avril 2017

How to get categories in php using classes? [on hold]

function which get all categories in Category php file

            <div class="panel-body">
                <?php 
                    include './Category.php';
                    $cat = new Category();
                    $cat->viewCategories();        
                    while($res = mysqli_fetch_array($result)) {   
                ?>
                    <p><a href="#"><?php echo $res['catTitle'];?></a></p>
                <?php } ?>
            </div>






Comments
0 Comments

0 commentaires:

Enregistrer un commentaire