using PHP variables in html tag

后端 未结 6 737
臣服心动
臣服心动 2021-01-14 04:32

I get a variable from PHP code which is a webpage link, and want to use that in html tag. For example:

api();         


        
6条回答
  •  独厮守ぢ
    2021-01-14 05:05

    if you have html file then fist change the extention .php in place of .html

    eg. you have test.html then change that to test.php

    after that you use the same code as

    
    
     LINK 
    

    Hope this will help you

提交回复
热议问题