Home  >  Q&A  >  body text

Can the two codes be run together?

The first part of this video tutorial is html code, and a php code is added at the end. After I input the new html text, the php part did not run. What happened?

远2437 days ago1441

reply all(3)I'll reply

  • dabour

    dabour2018-01-22 08:38:07

    Your php code must meet the requirements of php, such as <?php echo 'Hello World'; ?> This way it can be run if added to html

    reply
    0
  • 极世

    极世2018-01-21 14:29:00

    Brother, 666

    reply
    0
  • 代码输入中...

    代码输入中...2018-01-20 18:00:13

    If you want to run php code, the suffix must be .php. Other text formats cannot parse php. Common sense brother, you cannot make this kind of mistake

    reply
    3
  • Cancelreply