query($sqlStmt); if (DB::isError($result)) die ("$PHP_SELF: " . $result->getMessage()); $orientation = "0"; $output .= "
| \n"; $output .= " " . $row["stk_name"] . ""; $output .= " | \n"; $output .= ""; $output .= " | \n";
$tmpStkBarcode = trim($row["stk_barcode"]);
if ($tmpStkBarcode != "") :
$output .= " "; endif; $output .= " | \n";
if ($orientation == "0") :
$output .= " \n"; $output .= " "; $output .= " | \n"; endif; if ($orientation == "1") : $output .= "