コード例 #1
0
            <?php 
//$hh=$user->checkscope();
$hh = $user->checkwaitlist();
//if($i==1){
if ($hh == false) {
    $findfirstid = $user->findfristidfromtbl();
    //$cid=$findfirstid['id'];
    foreach ($findfirstid as $fw) {
        $cname = $fw['user_name'];
        $did = $fw['id'];
        echo $cname;
        echo $did;
    }
    $insertnwait = $user->insertfinalwait($cname);
    //header('Location:chat.php?cid=<?php echo $cid
    $deletefr = $user->deletefromwaitlist($did);
}
?>
    		</div>
    		<div class="col-md-4" style="margin-top:420px">

    		<h3 class="text-danger">Waiting list of patients :</h3>
    			<table class="table">
    			
    				<tr>
    					<th>Serial :</th>
    					<th>User Name :</th>
    					
    				</tr>
    				<?php 
$waitu = $user->listofwait();