PHP - unexpected end of file

后端 未结 3 819
自闭症患者
自闭症患者 2021-01-29 14:41

I added the error reporting...still doesn\'t show up what the problem was. This is the code in my index.php

As you can see, I added some sort of alert if the user_ok ret

3条回答
  •  长发绾君心
    2021-01-29 15:29

    Since you've opened your control structure using the traditional open-close tag, you'll need to close your conditional with th PHP tags:

    
    

    Note that, per the documentation:

    Mixing syntaxes in the same control block is not supported.

    Also, note that the use of the short tags is only enabled if short_open_tag is set equal to TRUE in your php.ini.

提交回复
热议问题