Results 1 to 2 of 2

Thread: Easiest way have users post on my website and have their post pop up on the home page

  1. #1
    craiglec10 Guest

    Question Easiest way have users post on my website and have their post pop up on the home page

    I've never dealt with server side coding. Please help!

    I need to have users post text and have that text then automatically show up on the homepage so that other users can see it. Any advice?

  2. #2
    Join Date
    Jul 2009
    Posts
    58
    I can give you the two most popular ways to do it, even though there are many more:

    - the easier and most amateurish way is to use a simple text files to store the posts. Just open the file and put the text in there. The maintenance of something like that and the retrieval of the information can be a nightmare. I don't recommend it.

    - therefore the harder but the better way is to put it in a table in a database. To do that you need to know what database you want to use. Judging by the forum you are asking your question, you will probably choose mysql. Then you need to. Establish connection with the database and know SQL to send and retrieve data to and from the database. It's 10 lines of code on average that accomplishes all that, but you also need to have a database and the proper tables created.

Similar Threads

  1. What is the easiest way I can allow visitors to Post on my site?
    By craiglec10 in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 11 Dec 2010, 01:56 AM
  2. Creating a site where users would post online
    By justme23 in forum General Questions
    Replies: 0
    Last Post: 07 Sep 2010, 03:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •