Skip to Content Skip to Menu

How do I call a profile's username from the database?

11 years 11 months ago #215293 by nonlinearmind
I need to be able to query the database and retrieve the username of the profile currently displayed (not the viewer's username). I've been it to use elsewhere, but am unable to find what variable to use.

For example: I, or anyone visits Bob Smith's profile. My php code queries the database to get Bob Smith's username to be used elsewhere.

Can anyone help me out?

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
11 years 11 months ago #215299 by nant

nonlinearmind wrote: I need to be able to query the database and retrieve the username of the profile currently displayed (not the viewer's username). I've been it to use elsewhere, but am unable to find what variable to use.

For example: I, or anyone visits Bob Smith's profile. My php code queries the database to get Bob Smith's username to be used elsewhere.

Can anyone help me out?


Resources that will help you:

Free API guide from Free download area.
Kyle's tutorials - www.allmysocials.com

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

Moderators: beatnantkrileon
Powered by Kunena Forum