in this below program,when i try to run the action of print, the table 'kiri' doesnt print the data. is there something wrong with my code ?
<body class='landScape'>";
?>
<div class="logo">
<img src="logo.jpg" width="80" height="40">
</div>
<hr>
<?php
include "connect.php";
$secretword = $_POST["secretword"];
?>
<?php echo "<h3>FAKTUR PAJAK REQUISITION CHECK SHEET</h3>";
$sqlheader = "select a.no_trans, a.dept, a.pic, a.issue_date, a.sales_pool , a.reg_status, a.check_by ,a.dept_mgr,receive_by ,a.checkin_by, a.approve_by,a.status,a.other,a.remark,b.desc2
from material_header a, master_add b where a.dept = b.desc1 and no_trans = '$secretword' limit 1";
$hasilheader = mysql_query($sqlheader);
$s = mysql_fetch_array($hasilheader);
$no_trans = $s['no_trans'];
$dept = $s['dept'];
$pic = $s['pic'];
$issue_date = $s['issue_date'];
$sales_pool = $s['sales_pool'];
$reg_status = $s['reg_status'];
$approve_by = $s['approve_by'];
$check_by = $s['check_by'];
$dept_mgr = $s['dept_mgr'];
$receive_by = $s['receive_by'];
$checkin_by = $s['checkin_by'];
$desc2 = $s['desc2'];
$other = $s['other'];
?>
<?php echo "<table class='kiri'>
<tr><td>Registration Number </td><td>: $no_trans </td></tr>
<tr><td>Issue Date </td><td>: $issue_date</td></tr>
<tr><td>Department/Division </td><td>: $dept </td></tr>
<tr><td>Sales Pool </td><td>: $sales_pool </td></tr>
<tr><td>Registration Status </td><td>: $reg_status </td></tr>
</table>";
?>
when i run the program, i give the action print and it is in the 'kiri' table. but when i try to give an action to the print the echo doesnt work.