SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2004
    Location
    NY
    Posts
    84
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Select ORDER BY dateline but Skip first value... How?

    I have this query but I would like to skip the first entry it would return and start with the second. How can I do that? This is the query code im using:

    Code:
    SELECT * FROM table_entries WHERE tid = $tid ORDER BY dateline ASC LIMIT 0,$news_list_this_many

  2. #2
    reads the ********* Crier silver trophybronze trophy longneck's Avatar
    Join Date
    Feb 2004
    Location
    Tampa, FL (US)
    Posts
    9,854
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    LIMIT 1,$news_list_this_many

  3. #3
    SitePoint Enthusiast
    Join Date
    Oct 2004
    Location
    NY
    Posts
    84
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks! works perfectly.


Bookmarks

Posting Permissions

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