Loading ...
Sorry, an error occurred while loading the content.

815Re: [php_greek] pagination. select pages. any idea?

Expand Messages
  • Ntina Triantafilidou
    Nov 22, 2005
      Hi!
      Kai egw exw afto to provlima kai o tropos pou prospathisa na to lisw einai
      o eksis:
      sou grafw ton php kwdika opws mou erxetai aftin tin stigmi.
      Page 1: $query="select * from table where id=>1 and id<10";
      Page 2: $query="select * from table where id=>11 and id<20";
      ....
      Page n: $query="select * from table where id=>10*(n-1)+1 and id<10*n";

      hope this helps!
    • Show all 4 messages in this topic