Results 1 to 15 of 15

Thread: [RESOLVED] Forum Help - Thread/Post Storage

Hybrid View

  1. #1
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: [RESOLVED] Forum Help - Thread/Post Storage

    If you are just fetching a list of threads you do not need a relational link to the posts table. If you want to count the number of posts in the thread you'd need to link up with the table and consequently deal with more records.

    Assuming anyone actually replies to the thread.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: [RESOLVED] Forum Help - Thread/Post Storage

    Quote Originally Posted by visualAd
    If you want to count the number of posts in the thread you'd need to link up with the table and consequently deal with more records.
    Actually, you're right. I wasn't thinking, but you would need a predicate to count the replies. I suppose my logic only makes sense if each thread had its own table of replies, which would be idiocy.


    Quote Originally Posted by visualAd
    Assuming anyone actually replies to the thread.
    I'm sure dclamp can reply to his own threads.

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