Need help output custom user information
-
I’m trying to output custom user information. And it’s ouputting it … just not on the right spot on the page.
For some reason, the $uid’s placement is just fine. But when i try to output custom data, the custom data is being displayed all the way on the top of the page instead of where i think i’m outputting it on the page. Which is sepose to be at the bottom of the page.
$html .= "User ID: " .$uid; $company = the_author_meta('company-name', $uid); $html .= "<p>Company name: " .$company. "</p>";
User ID: $uid is outputting just fine. on the same line, just normal.
But when i try to output “Company name: Name of the comany B.V.”
Company name: appears on the right line, nicely at the bottom of the page like i want to. But on using the variable to output “Name of the company B.V.”, it’s being displayed at the top of the page, just below the page title. ABOVE the <<back to members page link.Any help on the matter would be greatly appreciated.
- The topic ‘Need help output custom user information’ is closed to new replies.