 | PHP Builder free solutions for web developers
|
|
|
COMPUSORY UPGRADE!!! Request an upgrade NOW! 32+ Pre-installed Modifications! 3 Server Locations to choose from: USA, UK and JAPAN.
11th December 2012 - phpBB88: All servers are upgraded to run using SSD drive. Click Here to report problems!
| View previous topic :: View next topic |
| Author |
Message |
Gabi Newbie

Joined: 03 Dec 2007 Posts: 1 : Location: Durham, NC, USA
Items
|
Posted: Mon Dec 03, 2007 6:39 am Post subject: Could I limit the number of rows shown? |
|
|
Hello,
I would like to make a fairly large dataset publicly available. The full data grid would be 9 columns wide and 100,000 rows long. In tab-delimited text file format the data would take some 7M. So instead of rendering the whole thing, I would like PHP DataGrid to show the first 100 rows of any subset of the data that the search form would turn up, but not more. Then whoever wants the data can e-mail me and I can send it as an attachment.
I understand that I cannot add a "LIMIT 1,100" clause to my main SQL statement. Is there any other way to accomplish this?
Thank you,
Gabi |
|
| Back to top |
|
 |
zewa666 Site Moderator


Joined: 01 Feb 2007 Posts: 606 :
Items
|
Posted: Mon Dec 03, 2007 8:10 am Post subject: |
|
|
first of all thats the wrong board ... it should be in developers/users
next ... LIMIT is defined in Datagrid standardly ... so you simply have to set the number of rows that should be displayed. take a brief look in our wiki and the getting started section.
Greetings
Zewa |
|
| Back to top |
|
 |
| |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|