Easy MySQL, set a maximum?

Discussion in 'MySQL' started by crystalgrid, Oct 8, 2007.

  1. #1
    Here is an example query:

    $result = mysql_query("SELECT title FROM pages")

    Is there a simple parameter I can add so it only returns the first 20, etc, rows that it finds, instead of all of them? :confused:


    Thanks :)
     
    crystalgrid, Oct 8, 2007 IP
  2. crystalgrid

    crystalgrid Active Member

    Messages:
    247
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #2
    crystalgrid, Oct 8, 2007 IP