Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Black Friday Intro Offer for your subscription's lifetime
🎉 Black Friday sale is here! Great savings on professional and developer memberships! Get 25% off now with code BLACK-FRIDAY-2024!

How do I call a page author's name from the database??

12 years 1 week ago #215130 by nonlinearmind
This is driving me crazy. I need php code to get the username (author of the current page) from the database so that I can use it in a server side library for something else. I don't want to query the db and get back the visitor or logged in visitor's username. I want to get back the username of the person whose content I'm looking at on the community builder component. If I'm looking at "Bob's" profile, I want to be able to query the db and get "bob" back, not the identity of the visitor.

Help!

thanks!

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum