Php post without refreshing comments solution

Source: Internet
Author: User
Php post without refreshing comments younger brother has a little understanding of ajax. The following is the smarty template of my post. a form is added to the background and submitted to HTMLcode & lt; {sectionname = numloop = $ rss} & gt; & lt; tr & gt; php post without refreshing comments
Younger brother has a little understanding of ajax.
Post refresh comments to be implemented
The following is the smarty template of my post. a form is provided and submitted to the background.
HTML code
  <{Section name = num loop = $ rss}>                 
          "Height =" 100 "width =" 90 "/>
<{$ Rss [num]. username}>
Posted on <{$ rss [num]. msg_date}>
<{$ Rss [num]. msg_text}>
Reply times: <{$ rss [num]. msg_reply_count}>
<{/Section}>

What I want to ask is, does the backend use "echo" to output SQL results?
In addition, how should I write the ajax. post callback function of jquery? Paste the jquery code to me.

------ Solution --------------------
Why does smarty work seamlessly with xajax?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.