PHP website programming for user comments and replies, such as HTML code to the database code

Source: Internet
Author: User
Tags php website
Hello everyone, I just contact PHP, there is a problem has been troubling me, is the site of those forums, some people message, on the basis of the message and some people reply to this message, that is, these HTML code to the PHP code, and then to the database code, there are no relevant examples.

There is also a shopping site, those after the purchase, pay, and then save the database in the code, where can I learn ah?


Reply to discussion (solution)

Up everyone to help, I just want to learn, the forum message (for a question, there are users to express their views, this through JS implementation) This code and how to link to PHP and database code

And there's the code flow for that piece of shopping on the website.

These need to start with some basic code to learn, involved in more things, but just a lot, let a person complete to you write a thing more troublesome, but can from some books to get these fragmented code. or Internet search.

is the forum in the message function, with jquery to copy each message input box This is the previous code will be, but will not write the relevant PHP code and database code

Just contact PHP should not be able to do this immediately, you have to master the PHP base and database operations to study this problem.

I have mastered the PHP base and database operations, the problem is that if I do not do the above operation, you can not work, please help me, thank you

Post the code you've written and explain what features you need to add

I want the PHP survey file code, that is, from the HTML to PHP to the database code, before working to learn

and PHP work, will certainly involve the site order, and then pay, save the data to the database operation

I just want to learn the above two features from the sample code

I have mastered the PHP base and database operations, the problem is that if I do not do the above operation, you can not work, please help me, thank you
Everybody's going to try to help. But a general requirement involves a lot of code and it's hard to get it out of your project and it's useless to match it.

So try to split your question. Can do the self-made and then specific difficulties specific analysis

  • 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.