search

Home  >  Q&A  >  body text

As soon as my html page is submitted, my php code is displayed on the web page. What is the reason?

Like the title, I read everyone’s notes and they are basically consistent with mine. I don’t know why? Please give me an expert answer, thank you!

o(-o(-"-)o1478 days ago1257

reply all(3)I'll reply

  • z老师

    z老师2020-11-11 10:43:38

    phpStudy technical articles: https://www.php.cn/phpstudy.html

    reply
    0
  • o(-

    o(-"-)o2020-11-11 09:36:36

    My own Baidu————————————————

    Because I clicked directly to open the cj.html web page, and the browsing address was file:///E:/phpStudy /WWW/cj.html,

    According to Baidu’s explanation, it has not been parsed by its own server and can only display the code directly.

    Write the browser address directly as ****://localhost/cj.html, and the results will be displayed directly as expected.

    reply
    1
  • z老师

    phpStudy V8 video tutorial https://***.php.cn/course/1066.html

    z老师 · 2020-11-11 10:25:13
  • Cancelreply