Type: Posts; User: Norm
Sounds like you need to work the the logic.
Do you have any specific questions about how to code the program?