![]() |
Echo username from userid
PHP Code:
How do i use that profile field's userid (#) to display the username of that referenced account in a template? The above doesn't work, and I've been looking around for a way to do it without calling a php query to the database. |
The userfield table, which is where the data for the userfields is stored, has a userid field, but no username field. So, you would need to do a query to get the userid for the username you wish to get the field data.
|
All times are GMT. The time now is 02:29 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|