Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2003
    Posts
    21
    Thanks
    4
    Thanked 1 Time in 1 Post

    Paging an Array (Not From MySQL)

    For some reason im having a mental block tonight I have an array in the following format.

    Code:
    $theArray = array ('key1' => 'value1', 'key2' => 'value2');
    Now with MySQL you can use the LIMIT function to only select out the rows from the database which are applicable to the page you are viewing. How can I do something similar to this just using an array like the one above.

  • #2
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,638
    Thanks
    2
    Thanked 404 Times in 396 Posts

  • Users who have thanked Inigoesdr for this post:

    Immulsifier (11-22-2007)

  • #3
    New Coder
    Join Date
    Jul 2003
    Posts
    21
    Thanks
    4
    Thanked 1 Time in 1 Post
    Many thanks, so simple in the end


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •