ok

Mini Shell

Direktori : /proc/self/root/home2/selectio/www/tnpsctestbatch.com/admin/old/ui-api/
Upload File :
Current File : //proc/self/root/home2/selectio/www/tnpsctestbatch.com/admin/old/ui-api/task-users-details.php

<?php 
ob_start();
session_start();
include "../config/config.php";


$conditions="";

$statement = $pdo->prepare("SELECT *,(SELECT COUNT(id) FROM tbl_user WHERE tbl_tasks.id=tbl_user.task_id) as task_emp_count FROM `tbl_tasks` where 1=1 ".$conditions);
                        $statement->execute();
                        $emp_data = $statement->fetchAll(PDO::FETCH_ASSOC);
                        $totalData = $statement->rowCount();
                        foreach ($emp_data as $data){ ?>
                        
                        <div style="padding-top: 6px;">
                        <b>
                            <span class="btn btn-primary btn-xs"><?=$data['name']?></span>
                            <span class="btn btn-warning btn-xs"><?=$data['task_timing']?></span>
                            <span class="btn btn-success btn-xs"><?=$data['task_emp_count']?></span>
                        </b>
                        </div>
                        

<?php } ?>

Zerion Mini Shell 1.0