Skip to:
Content
Pages
Categories
Search
Top
Bottom

how to store a table data in a veriable in buddypress

  • Avatar of gaurav190092
    gaurav190092
    Participant

    @gaurav190092

    i have some fetched data which displaying properly with this code bp_displayed_user_fullname(); . i want to store it in a variable .please help me .

    Thanks in advance

    Gaurav

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of shanebpdev
    shanebp
    Participant

    @shanebp

    $variable = bp_get_displayed_user_fullname();

    Avatar of gaurav190092
    gaurav190092
    Participant

    @gaurav190092

    Hey shanebp

    I have try it earlier but .this is not working and displaying full name . I don’t want to display it .i want to store it in a variable .

    Regard
    Gaurav

    Avatar of shanebpdev
    shanebp
    Participant

    @shanebp

    bp_get_displayed_user_fullname() will only retrieve the data.

    If you see it, then your code has a problem.

    If you want further help, use pastebin or gist to create a code snippet showing your code and then post the link here.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.