Announcement

Collapse
No announcement yet.

How to get username from userid

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

    Code:
    if ($row['field2']=="United States") { 
    echo "<b>" . $row['userid'] . "</b> - <u>" . $row['field2'] . "</u>";
    }
    Thanks.

  • #2
    You'll need to ask over @ vb.org for custom coding.
    Lats...

    Comment


    • #3
      I did...rarely get help over there!!

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X