<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
	<?php
$id = $_REQUEST['trackdetails'];
require_once('include/conn.php');
$query_pag_data = "SELECT * from trackings where id = '$id'";
$result_pag_data = mysqli_query($login, $query_pag_data) or die('MySql Error' . mysqli_error());


while($rows = mysqli_fetch_array($result_pag_data)){
    
	$id = $rows['id'];
      $num = $rows['num'];
	 $receiveradd = $rows['receiveradd'];
$status = $rows['status'];
$destination = $rows['destination'];
$exptdelvrydate = $rows['exptdelvrydate'];
?>


<form id="form1" name="form1" method="post" action="">
  <p>&nbsp;</p>
  <table width="493" border="1" align="center" cellpadding="7" cellspacing="7">
    <tr>
      <td width="223"><strong>Tracking Number:</strong></td>
      <td width="215"><label for="num"></label>
      <?php echo $num ?></td>
    </tr>
    <tr>
      <td><strong>Receiver's Address</strong></td>
      <td><?php echo $receiveradd ?></td>
    </tr>
    <tr>
      <td><strong>Status</strong></td>
      <td><?php echo $status ?></td>
    </tr>
    <tr>
      <td><strong>Destination</strong></td>
      <td><?php echo $destination ?></td>
    </tr>
    <tr>
      <td><strong>Experted Delivery Date</strong></td>
      <td><?php echo $exptdelvrydate ?></td>
    </tr>
  </table>
</form>
 <?php
}
	?>
</body>
</html>