Choose One
"; echo "Clt No:       "; echo "                                                             "; echo " Mother Lot
"; echo "CLT Date:  "; echo "                                                             "; echo " Child Lot"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo "
PARTS TRACEABILITYLOT/BATCH #
AC2L
B3
Cloth Type
Roll No
"; echo "

 

"; $query = "SELECT * FROM clt_trace_operations ORDER BY operation_name"; $last_operation_name = ""; $result = mysql_query($query); if($result) { $rexist = 1; echo "

OPERATOR AND MACHINE TRACEABILITY

"; echo ""; echo ""; $totalrows = mysql_num_rows($result); $trows = $totalrows - 1; for($ctr = 0; $ctr < $trows; $ctr++) { $row = mysql_fetch_array($result); $tctr = $ctr + 1; echo "\n\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t"; } if($totalrows > 1); { $row = mysql_fetch_array($result); echo "\n\t"; echo "\n\t\t"; echo ""; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t\t"; echo "\n\t"; } echo "
OPERATIONSTime INTime OUTINPUT
QTY
UNITOUTPUT QTYUNITNAME & ID #MC #VARIANCE QtyVARIANCE Sub LotDATESHIFT
"; if ($last_operation_name != $row["operation_name"]) echo $row["operation_name"]; $last_operation_name = $row["operation_name"]; echo "" . $row["input_unit"]; echo "" . $row["output_unit"]; echo "
"; if ($last_operation_name != $row["operation_name"]) echo $row["operation_name"]; $last_operation_name = $row["operation_name"]; echo "" . $row["input_unit"]; echo "" . $row["output_unit"]; echo "
"; } echo "

"; echo ""; ?>