Error syntax error, unexpected $end, excuse me for what reason

Source: Internet
Author: User
Tags glob parse error
 
  
 <title>Download</title>
 
 
$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 + +) {?>
Warehouse_mix Warehouse_mix_label_pdf Mix_pdf_address_label Mix_pdf_address_label_a4
">


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;
}
}

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.