Questions about PHP message board? Which master can and the younger brother I say

Source: Internet
Author: User
PHP message board problem??? Who can say that to me?
This message board is a system, how to do the steps?? I don't know how to do it. PHP


------Solution--------------------
Do a front page by get a value to determine the type of operation, such as? Do=ly this shows the form, if there are no parameters to display all the message list, in the background do one by one accept post worth processing files, in is to do some basic security filtering and rule determination, directly into storage, so ah, Oh
------Solution--------------------
I give a landlord my idea of it:
1, demand analysis: Landlord want to the message version need to verify the user, whether the need for high security ....
2. Database design: Determine which tables and fields are needed by analyzing the landlord's needs.
3, HTML page design, through the needs analysis to determine how many pages, and the style required, if the requirements of high this step can be advanced.
4, write the PHP code, through the requirements analysis, determine the specific functions needed, and then write the specified code.
5, test program usability, modify the bug.
The premise of writing this program is to see the concrete needs of the landlord, can be simple and complex. My answer is finished, I hope to help the landlord.
------Solution--------------------
A "message board" should have the following functions:
1, he provides an input form, for the user to write down comments text. (append)
2, he provides a list of messages for users to view existing messages. (browse)
3, he provides a management form, in order to delete the existing message for the administrator. (Manage)

This is the basic analysis method of writing a "message board", that is, "message board" class (Boand) should be the basic method
Whether you use a file or a database to save the "message board" data, you need a variable that flags the data source for use by the class method. This is the attribute
Your "message board" class may be used for different purposes, so it may be necessary to use the attribute headline (title) for the purpose of identification; In order to show different styles, you may need the attribute style

In short, no matter what kind of interface your "message board" displays to the user, which media is used to store the data. Its basic approach is to exist.

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