本文整理汇总了PHP中QC::getNewId方法的典型用法代码示例。如果您正苦于以下问题:PHP QC::getNewId方法的具体用法?PHP QC::getNewId怎么用?PHP QC::getNewId使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类QC
的用法示例。
在下文中一共展示了QC::getNewId方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: generate_timestamp
require_once '../../lib/defination.class.php';
include '../../lib/supplier.class.php';
include '../../lib/stock.class.php';
include '../../lib/qc.class.php';
include '../../lib/mrr.class.php';
$stock = new Stock();
$QC = new QC();
$output = options_for_select($stock->retriveStockItem(), 'stock_item_id', 'stock_item_name');
// get suppliers info for combo box;
$Supplier = new Supplier();
$outputSupplierItem = options_for_select($Supplier->retriveSupplierInfo(), 'sup_id', 'sup_name', true);
$MRR = new MRR();
$outputMRRtNo = options_for_select($MRR->retriveMRRInfo(), 'mrr_id', 'mrr_number', true);
$locations = options_for_select($stock->retriveLocation(), 'stock_location_id', 'stock_location_name');
$num = $QC->getNewId();
?>
<div id="note"> </div>
<form id="mrrForm" name="mrrForm" method="post" action="includes/model/qc_order_actions.php" >
<div class='morelabel'>
<p>
<label>QC # </label>
<input type="text" disabled value="<?php
echo generate_timestamp('QC', $num);
?>
" />
<input type="hidden" name="qc_num"
value="<?php