Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 15 Apr 2009, 04:33
MikesSite MikesSite is offline
 
Join Date: Jan 2009
Thumbs up How to get username from userid

I'm creating a php page for the forum that will show everybody from a specific string they input under the Additional Information / Details section. It's 'field2' located in the 'userfield' section of the forum database. Basically I am able to get the field2 string and userid, but I'm wondering how I can get the username from the userid?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Thanks.
Reply With Quote
  #2  
Old 15 Apr 2009, 05:31
vbplusme's Avatar
vbplusme vbplusme is offline
 
Join Date: Sep 2008
Real name: Michael
Assuming you are selecting user.username in your query $row['username']

Am I missing something?
__________________
Reply With Quote
  #3  
Old 15 Apr 2009, 05:53
MikesSite MikesSite is offline
 
Join Date: Jan 2009
selecting by userfield, there is no username row


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:14.

Layout Options | Width: Wide Color: