/home/mjc1/public_html/otms_old/ajax.11.prod_noti_get.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
include("./_common.php");

$site '11';

$sql "select * from zom_prod_noti where type_code = '{$type_code}' ";
$res mysql_query($sql,$connect_om);
while(
$info=mysql_fetch_array($res)){
    
$prod_noti[] = $info;
}
$html "<table class='order-sheet'>
                <colgroup>
                    <col style='width:200px;'><col style='width:160px;'><col style=''>
                </colgroup>

                <tbody>"
;
foreach(
$prod_noti as $key=>$info){
    
$html .= "<tr>
                    <th class='linetxt'>
                        
{$info['item_desc']}
                        <input type='hidden' name='item_code[]' value='
{$info['item_code']}'>
                    </th>
                    <td class='linetxt'><input type='text' name='item_desc[]' value='' class='width_200'></td>
                    <td class='linetxt'>
{$info['item_bigo']}</td>
                </tr>"
;
}
$html .= "</table>";

echo 
$html;
?>