ok

Mini Shell

Direktori : /proc/thread-self/root/home2/selectio/www/lilyexpresslive/software/admin/
Upload File :
Current File : //proc/thread-self/root/home2/selectio/www/lilyexpresslive/software/admin/get_pickup_list.php

<?php include("inc/config.php");
    $dest= $_POST['dest'];
    $orig = $_POST['orig'];

    	       $statement = $pdo->prepare("SELECT pickup_entry.*,tbl_user.full_name as client_name FROM `pickup_entry` inner join tbl_user ON  pickup_entry.client_id=tbl_user.id WHERE pickup_entry.destination='$dest' and pickup_entry.status='picked' order by pickup_entry.id DESC");   
            	$statement->execute();
            	$result = $statement->fetchAll(PDO::FETCH_ASSOC);							
                $i=1;
                foreach ($result as $row) {
                        echo'<tr>';
                       echo '<td>'. $i.'</td>';
                       echo '<td><input type="checkbox" class="checkbox" name="checkboxlist" value="'. $row['id'].'"/></td>';
                       echo '<td>'. $row['ref_no'] .'</td>';
	                   echo '<td>'. $row['pics'] .'</td>';
	                   echo '<td>'. $row['address'].'</td>';
	                   echo '<td>'. $row['phone'] .'</td>';
	                   echo '<td>'. $row['c_weight'].'</td>';
	                   echo '<td>'. $row['destination'] .'</td>';
	                   echo '<td>'. $row['client_name'] .'</td>';
	                   echo '</tr>';
	  	                              $i++;
        } 
    ?>

Zerion Mini Shell 1.0