/home/mjc1/public_html/emillennium/ajax.sale_tax_form.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
$dir 
".";
include_once(
$dir."/_common.php");

if(
$midx!=''){
    
$sql "select a.ccode, a.midx, b.seq from sale_m a left join sale_d b on a.midx = b.midx where a.midx = '{$midx}' ";
    
$res mysql_query($sql,$connect_e1000y);
    
$cnt 0;
    while(
$info=mysql_fetch_array($res)){
        echo 
"<input type='hidden' name='codes[]' value='g^{$info['ccode']}^{$info['midx']}^{$info['seq']}'><br>";
        echo 
"<input type='hidden' name='code_idx[]' value='{$cnt}'><br>";
        
$dealdate $info['dealdate'];
        
$cnt++;
    }
}

?>
<input type='hidden' name='sel_mode' value='detail'><br>
<input type='hidden' name='sdate' value='<?php echo $dealdate;?>'><br>
<input type='hidden' name='edate' value='<?php echo $dealdate;?>'><br>
<input type='hidden' name='sendmode' value=''><br>
<input type='hidden' name='smode' value=''><br>