PHP syntax error “unexpected $end”

前端 未结 7 842
清酒与你
清酒与你 2020-12-02 01:52

I have 3 files 1) show_createtable.html 2) do_showfielddef.php 3) do_showtble.php

1) First file is for creating a new table for a data base, it is a fom with 2 input

7条回答
  •  甜味超标
    2020-12-02 02:27

    This error message means that a control structure block isn’t closed properly. In your case the closing } of some of your control structures like the for loop or the last if are missing.

    You should use proper indentation and an editor that highlights bracket pairs to have a visual aid to avoid such errors.

提交回复
热议问题