Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

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

12 years 1 month 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