No one is going to send you any code, as that totally defeats the spirit of a forum.
"n-tier architecture", with various "layers", is a philosophical thing. In terms of actual coding, all it really means is that you organize things in a logical manner.
For example, all the code to interact with your database, should be in its own class. To write something to a database, your application would use the members of your "db" class.
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37