<title>Download</title>
|
Warehouse_mix |
Warehouse_mix_label_pdf |
Mix_pdf_address_label |
Mix_pdf_address_label_a4 |
|
|
|
|
|
|
|
|
|
$t) {$hk _label[] = $HK _label_fn;}} } else {$t = date (' Ymd ', Strtotime ('-5 day ')), $hk _label = Array (); foreach (Glob (' Download/*_warehouse_mix*.txt ') as $HK _l ABEL_FN) {if (substr ($HK _label_fn, 8, 8) > $t) {$hk _label[] = $HK _label_fn; {$HK _label[] = $HK _label_fn;}} } $jp _warehouse_count=count ($jp _warehouse), $c =max ($jp _label_count, $hk _label_count, $hk _warehouse_count, $jp _ Warehouse_count); for ($i =0; $i < $c; $i + +) {?>
"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
What is the reason for the error???
Parse error:syntax error, unexpected $end in E:\APMServ5.2.6\www\htdocs\amazon\download_all.php on line 133
Reply to discussion (solution)
Looks like the parentheses match the wrong, looked, did not find
The reason for the error is that the last one is added.
Plus, it's good.
foreach (Glob (' Download/*_warehouse_mix*.txt ') as $hk _label_fn) {
if (substr ($HK _label_fn, 8, 8) > $t) {$hk _label[] = $HK _label_fn;
{
$HK _label[] = $HK _label_fn;
}
}