| Author |
Display 20 records per page use MySQL(urgent)
|
Dorj Galaa
Ranch Hand
Joined: May 29, 2001
Posts: 113
|
|
Hello My task is display 20 record per page. where rownum<20 not working on MySQL
|
Senior software engineer
|
 |
Kareem Gad
Ranch Hand
Joined: Aug 06, 2001
Posts: 89
|
|
mySQL uses this syntax select * from table limit 0,20 the 0 denots the starting row 20 denotes the number of rows you want to retrieve starting from starting row so retrieving the next 20 would be limit 20,20 then limit 40,20 and so on. this question should belong i guess in another forum not on the jsp and servlet page i think what do u think moderator ? move it? ------------------ KaReEm
|
<b><i>KaReEm</i><br /><ul type="square"><li>SCJP-Free Range Web Developer <br /></ul></b>
|
 |
Kareem Gad
Ranch Hand
Joined: Aug 06, 2001
Posts: 89
|
|
Oh i didn't notice it was you Dorj Keep them comming ------------------ KaReEm
|
 |
Dorj Galaa
Ranch Hand
Joined: May 29, 2001
Posts: 113
|
|
|
thanks
|
 |
 |
|
|
subject: Display 20 records per page use MySQL(urgent)
|
|
|