Results 1 to 4 of 4

Thread: Discussion Group

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Heliopolis, Cairo , Egypt
    Posts
    1

    Post

    I'm trying to build a message board using asp
    can any one give me aprogramming model
    Any Ideas or samples ?

    ------------------
    Gasser (CesaR)

  2. #2
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827

    Post

    I've been wondering how to do it myself. I guess it's textareas and lots of tables and a big database. But more complicated, obviously

    I expect it's fairly easy to do one that doesn't look so hot, but for a nice pretty one like this it's probably difficult.

  3. #3
    Addicted Member
    Join Date
    Oct 1999
    Posts
    232

    Post

    Simply you can use only one table like follow sample:

    ID
    ParentID
    Title
    Message
    Date

    When user posted a new topic you should be insert the record:

    1, 0, "New Topic", "Hello, World!", "01/01/00"

    Here's the answer to new topic:

    2, 1, "Replay", "Re: Hello, World!", "02/01/00"

    And display the main topics by using the result of statement.

    SELECT * FROM table WHERE parentid=0 ORDER BY date DESC

    For answers use "WHERE parentid=XXX".

    Best regards.

    ------------------
    smalig
    [email protected]
    http://vbcode.webhostme.com/


  4. #4
    Addicted Member
    Join Date
    Oct 1999
    Posts
    232

    Post

    Here is the source code of ASP based forum
    with live demo.
    http://asp.superexpert.com/code/code.asp?codeid=23

    Best regards.

    ------------------
    smalig
    [email protected]
    http://vbcode.webhostme.com/


Posting Permissions

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



Click Here to Expand Forum to Full Width