boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

calling for image in phpBB DB

 
Post new topic   Reply to topic    boardom Forum Index -> PHP help
View previous topic :: View next topic  
Author Message
deerdork



Joined: 09 Feb 2003
Posts: 12

PostPosted: Tue Feb 11, 2003 10:21 pm    Post subject: calling for image in phpBB DB Reply with quote

does anyone know how to call for something from the database....

i have a phpbb... and what i want to do is have it so that when someone posts on the b2 it will echo the image they have as their avatar on the board into each post on b2

so.... all i need to know is how to call for a table in the database... and i should be able to figure the rest out

thanks in advance
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Tue Feb 25, 2003 8:10 pm    Post subject: Reply with quote

this all depends on what your tables are called for the phpbb. I think by default the now use phpbb_tablename but the query would be

select user_avatar from phpbb_users where username = '$username'

$username being what ever the persons username is. This will only work if their phpbb username is the same username they are using to blog on b2

Hope this helps
Back to top
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> PHP help All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group