mysql_fetch_array();

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Phillip Parr

    mysql_fetch_array();

    Ok clever PHP know it alls...

    If i was making a website with a search engine and wanted to display the
    26th-50th result from a mysql_query() what's the best way to do it?

    Thanks :)


  • Jochen Daum

    #2
    Re: mysql_fetch_arr ay();

    Hi!

    On Wed, 18 Feb 2004 22:30:37 -0000, "Phillip Parr" <nomail@here.co m>
    wrote:
    [color=blue]
    >Ok clever PHP know it alls...
    >
    >If i was making a website with a search engine and wanted to display the
    >26th-50th result from a mysql_query() what's the best way to do it?
    >
    >Thanks :)[/color]


    check out www.mysql.com and use limit 26, 25 in your query.

    HTH, Jochen
    --
    Jochen Daum - Cabletalk Group Ltd.
    PHP DB Edit Toolkit -- PHP scripts for building
    database editing interfaces.
    Download PHP DB Edit Toolkit for free. PHP DB Edit Toolkit is a set of PHP classes makes the generation of database edit interfaces easier and faster. The main class builds tabular and form views based on a data dictionary and takes over handling of insert/update/delete and user input.

    Comment

    • Phillip Parr

      #3
      Re: mysql_fetch_arr ay();

      Ah of course, I should have known that!

      Thank you :D

      "Jochen Daum" <jochen.daum@ca ns.co.nz> wrote in message
      news:5qp730dr55 msvcgj7dp9krpeg hpuca41vt@4ax.c om...[color=blue]
      > Hi!
      >
      > On Wed, 18 Feb 2004 22:30:37 -0000, "Phillip Parr" <nomail@here.co m>
      > wrote:
      >[color=green]
      > >Ok clever PHP know it alls...
      > >
      > >If i was making a website with a search engine and wanted to display the
      > >26th-50th result from a mysql_query() what's the best way to do it?
      > >
      > >Thanks :)[/color]
      >
      >
      > check out www.mysql.com and use limit 26, 25 in your query.
      >
      > HTH, Jochen
      > --
      > Jochen Daum - Cabletalk Group Ltd.
      > PHP DB Edit Toolkit -- PHP scripts for building
      > database editing interfaces.
      > http://sourceforge.net/projects/phpdbedittk/[/color]


      Comment

      Working...