Give help. Get help.

  • # March 27, 2013 at 5:43 pm

    I want to show only 10 items of (for e.g) 100 items, and hide rest 90 items , and when click show more, it shows all 100 items.

    like read more / or spoiler tag

    foreach($context as $buddy)
    $buddy = $memberContext[$buddy];

    this snip show all buddys of a member, i want to show only 10 buddys, and hide rest of buddys, and when click the Show More, show all Buddys.

    # March 27, 2013 at 5:45 pm

    And you want that done in PHP? Load the rest of the buddies with AJAX?

    # March 27, 2013 at 6:25 pm

    Ajax or jQuery.

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

You must be logged in to reply to this topic.