PHP eval issue with PHP + HTML code

后端 未结 5 1016
天涯浪人
天涯浪人 2020-12-21 14:04

I\'ve got PHP and HTML code stored in a database table. When I get this data, I need to echo the HTML and process the PHP. I thought I could use eval() for this

5条回答
  •  自闭症患者
    2020-12-21 14:49

    I would guess that you're trying to eval() something that contains an opening tag. And that leads to the error at hand.

提交回复
热议问题