PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPHP Development
The ASP Free website provides in-depth information on the latest developer tools available from Microsoft. Our cadre of writers, highly experienced industry experts, reveals the best ways to use established technologies as well as new and emerging technologies. Our coverage of Microsoft's development and administration technologies is among the most respected in the IT industry today.

ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month!
Download and Activate to enter!

Intel® Graphics Performance Analyzers is a powerful tool suite for analyzing and optimizing your games, media, and graphics-intensive applications. Used by some of the best developers on the planet, Intel GPA lets you maximize your app’s performance.


Tutorials
| Forums

Download to Enter
| Contest Rules

DOWNLOAD INTEL® GPA FOR FREE

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 26th, 2004, 03:49 PM
omcateer omcateer is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 272 omcateer User rank is Private First Class (20 - 50 Reputation Level)omcateer User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 34 m
Reputation Power: 10
Unhappy reply comment system

Hi everybody,

A while ago i made a comment system that works great but now I want to update it so that users can reply to other users comments. I have got as far as a user beable to reply to a comment but I can't get it display a reply to a reply.

have a look at bottem of this page its the kind of the comment system Im trying to make http://www.phpfreaks.com/tutorials/47/0.php


Please help me I can not figger this out, I tired a nested loop but that only displays a reply not the reply of a reply and a reply of a reply of a reply.



Thanks Owen,
__________________
Owen's World .com

Reply With Quote
  #2  
Old November 27th, 2004, 08:02 AM
omcateer omcateer is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 272 omcateer User rank is Private First Class (20 - 50 Reputation Level)omcateer User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 34 m
Reputation Power: 10
Can any help me write the pseudocode for this program its driving me mad!

Reply With Quote
  #3  
Old November 27th, 2004, 08:12 AM
DefinedHost's Avatar
DefinedHost DefinedHost is offline
Defined Group, Inc.
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Location: San Francisco, CA
Posts: 219 DefinedHost User rank is Private First Class (20 - 50 Reputation Level)DefinedHost User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 19 h 29 m 36 sec
Reputation Power: 8
Use a loop where it checks an additional table (where the comments' comments are stored) by comment ID. Pull from this table inside the loop and have that as a loop itself.

It's fairly simple if you just want 2 levels of comments. For something more, I would suggest looking at a basic forum example.


DH

Reply With Quote
  #4  
Old November 29th, 2004, 05:30 AM
omcateer omcateer is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 272 omcateer User rank is Private First Class (20 - 50 Reputation Level)omcateer User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 34 m
Reputation Power: 10
Thats the problem I can do the two level fine but i need more than that but thanks anyway.

Owen,

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > reply comment system


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 7 - Follow our Sitemap