Skip Entries in Database

Discussion in 'PHP' started by Kennedy, Feb 3, 2008.

  1. #1
    Here's what I have so far:

    $query="SELECT * FROM entries ORDER BY vdate ASC";

    Rather than listing all of them, I want it to skip the first 15. How would I do this?
     
    Kennedy, Feb 3, 2008 IP
  2. live-cms_com

    live-cms_com Notable Member

    Messages:
    3,128
    Likes Received:
    112
    Best Answers:
    0
    Trophy Points:
    205
    Digital Goods:
    1
    #2
    LIMIT 15, 10

    I think that would skip 15 and display another 10.
     
    live-cms_com, Feb 3, 2008 IP
  3. Kennedy

    Kennedy Peon

    Messages:
    994
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Got it, thanks.
     
    Kennedy, Feb 3, 2008 IP