Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Show More via PHP

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #43719
    pedram
    Member

    Hi.
    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.

    #129954
    CrocoDillon
    Participant

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

    #129962
    pedram
    Member

    Yes.
    Ajax or jQuery.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.