Welcome Guest.


How to submit php data dynamically without loading Ajax in the case of ajax, write php in html

Asked by: Christopher 201 views IT June 1, 2018

<ul class="am-list">


                  {[section name=list loop=$list]}


                  <a href="{[$list[list].url]}">




                  <p class="am-kai">




                  <span class="am-kai news_span">点击数:{[$list[list].hits]}</span>


                  <span class="news_span_2">{[$list[list].riqi]}</span>




1 Answers

  1. +3Votes  

    You don’t need AJAX, then you have to refresh the page

    You can refresh the page with location.href="",

    Joseph Mitchell- June 1, 2018 |