results = mysql_query(SELECT * FROM (reply table name) where MB_PARENT = 
"$mbid" )
$replies = mysql_num_rows($results)

Jer <[EMAIL PROTECTED]> wrote:                                  I'm trying to 
create a message board and I want to add a reply count. The entire board is in 
 one table is a mbid column and a mb_parent column. When there is a reply, it 
writes the mbid 
 from the top level post to mb_parent.
 
 I want to get a count of how many mb_parents = mbid.
 
 How can I do this?
 
 Thank you.
 
 
     
                       

                                
---------------------------------
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small 
Business.

[Non-text portions of this message have been removed]



The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php_mysql/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to