<?php
//$product_array = [
//        [
//        "name" => "Personal Website",
//        "description" => "Product description here",
//        "status" => 0,
//         "product" => 'A000001'
//        ],
//        [
//        "name" => "Professional Website",
//        "description" => "Product description here",
//            "status" => 0,
//            "product" => 'A000002'
//        ],
//        [
//        "name" => "Personal Blog",
//        "description" => "Product description here",
//            "status" => 0,
//            "product" => 'A000003'
//        ],
//        [
//        "name" => "Professional Blog",
//        "description" => "Product description here",
//            "status" => 0,
//            "product" => 'A000004'
//        ],
//        [
//        "name" => "Practice EMR",
//        "description" => "Product description here",
//            "status" => 0,
//            "product" => 'A000005'
//        ]
//];
?>

<div class="row">
    <?php
    foreach ($product_array as $row)
    {
        ?>
        <div class="col-lg-6 col-xxl-6   m-b-30" style=" min-width: 200px;">
            <div style="padding: 2px; border-radius: 10px;">
                <a href="/product/<?=$row['product_id']?>">
                    <div class="card card-statistics h-25 mb-0" style="background-color: aliceblue;">
                        <div class="card-header d-flex justify-content-between">
                            <div class="card-heading" style="padding: 1px;">
                                <h4 class="card-title" style="color: #6b0392; font-size: 14px;"><?=$row['name']?></h4>
                            </div>
                        </div>
                        <div class="card-body">
                            <?=$row['description']?>
                        </div>
                    </div>
                </a>
            </div>

        </div>

        <?php
    }
    ?>
</div>