Advertisement
blistovmhz

Untitled

Sep 15th, 2016
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. print("<tr class=\"insTblTR\">");
  2. //For system serial number
  3. print("<td class=\"insTblTD1\"><span class=\"noteMsg\">*</span>Customer</td>");
  4. print("<td class=\"insTblTD2\">");
  5. $rsltCompany = $objScr->objCommonFunc->db->getCompaniesFull();
  6. if(!isset($_REQUEST['lstCompanyId'])) $_REQUEST['lstCompanyId'] = $sysCustId;
  7. print("<select name=\"lstCompanyId\" id=\"lstCompanyId\" class=\"frmEleSel\" style=\"width:19em;\" onChange=\"javascript:ChangeAddr(this);\">");
  8. print("<option value=\"\">Select Company</option>");
  9. while($rowCompany = $rsltCompany->fetchAssoc()) {
  10. print("<option value=\"" . $rowCompany['companyid'] . "\"");
  11. if($_REQUEST['lstCompanyId'] == $rowCompany['companyid']){
  12. print(" selected=\"selected\"");
  13. }
  14. print(">");
  15. if(DEBUG) print("{$rowCompany['companyid']} - ");
  16. print("" . $rowCompany['name'] . "");
  17. print("</option>");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement