View Single Post
  #2 (permalink)  
Old 06-25-2007, 04:52 PM
Lee's Avatar
Lee Lee is offline
PT Staff*
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: Blackpool, UK
Posts: 616
iTrader: (0)
Lee is just really niceLee is just really niceLee is just really niceLee is just really nice
in the user database have a column called Avatar, make the upload go to a folder like images/avatar/ or something like then when a user uploads an image, put the path in the database e.g. images/avatar/imagename.ext then its easy for you to display on the pages you wish. as you can just echo the image src=\"http://www.yoursitename.com/$avatar\" something like that should work, the variable avatar would be the avatar path which you would get from the database.

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!

Last edited by Lee : 06-25-2007 at 04:55 PM.
Reply With Quote