How to display a php variable into html

前端 未结 5 616
萌比男神i
萌比男神i 2020-12-06 13:46

I just want to know how can I display a javascript variable into html?

Below is my php code:

var duration = ;
<         


        
5条回答
  •  死守一世寂寞
    2020-12-06 14:30

    Here's a way to add a DIV to a page with the content of the DIV being the value of your PHP var:

     
    

提交回复
热议问题