adding a personal signature to a forum

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
hossain
Forum Newbie
Posts: 1
Joined: Wed May 04, 2005 6:36 am

adding a personal signature to a forum

Post by hossain »

I want to add feature to a forum, namely personal signatures, but i don really know how to implement it. So, if some can help me out by providing me with code as an example or point me to a tutorial about this i would be very thankfull!
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

what I would do is have a new table called signatures and store the users id and the users signature. You could even just add this to the users table already.

And then when displaying the posts you could modify the query with an inner join to acquire the signature table along with the post itself, or if you added it to the users table simply echo out the users signature.

Post some code, perhaps we can lend you a hand if this is above your skill level.
Post Reply