search

Home  >  Q&A  >  body text

How to convert html to PHP?

How to convert html to PHP? ? ?

Please help me convert this html code

#<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

< title>Juhuasuan-Taobao Specials</title>

<meta name="keywords" content="Taobao Specials, Taobao Internal Coupons">

<meta name= "description" content="Taobao Specials - Selected Taobao products, enjoy super discounts with Taobao internal coupons, come and buy together!">

</head>

< ;frameset framespacing="0" border="0" rows="0" frameborder="0">

<frame name="main" src="https://ju.taobao.com /?ali_trackid=2:mm_30997520_45252313_520720293:1526435583_232_162501377" scrolling="auto" noresize>

</frameset>

</html>

远航远航2411 days ago3785

reply all(2)I'll reply

  • NULL

    NULL2018-05-21 15:27:01

    What the first floor said is very correct. You can write html code and PHP code in the .php file. Please note that the PHP code must be preceded and followed by <?php ?>

    reply
    0
  • PHP中文网

    PHP中文网2018-05-19 18:05:49

    Can’t you just change the file extension to .php?

    reply
    1
  • Cancelreply