Error : Parse error: syntax error, unexpected $end

This question already has an answer here:

  • unexpected $end [closed] 2 answers

  • Problem is on 143rd line,.

    You are closing php 2 times

  • 143rd line and
  • 180th line
  • so just remove ?> from 143rd line


    on line 132 you are closing the php code with '?>'. And then you continue without opening another '<?php' .remove that line.

       ?>
    
        if (isset($images->image_fulltext) and !empty($images->image_fulltext)) {
    

    and because you have MANY unnecessary opening and closings of php sections, you must have many more similar errors...

    链接地址: http://www.djcxy.com/p/69796.html

    上一篇: html标记导致.php文件中意外的文件结尾

    下一篇: 错误:解析错误:语法错误,意外的$结束