Re: input a section of a large file [message #171678 is a reply to message #171658] |
Sat, 15 January 2011 12:35 |
The Natural Philosoph
Messages: 993 Registered: September 2010
Karma:
|
Senior Member |
|
|
richard wrote:
> On Fri, 14 Jan 2011 18:00:08 +0000 (UTC), Adrienne Boswell wrote:
>
>> Gazing into my crystal ball I observed richard <member(at)newsguy(dot)com>
>> writing in news:1d4pessmkmgis$(dot)dlg(at)evanplatt(dot)sux:
>>
>>> Just being curious.
>>> Is it possible in php to acquire information from a file in part,
>>> rather than retrieving the whole file?
>>> I have a series of tables that I would prefer not showing up on the
>>> main page when loaded. When the user clicks the link, the tables would
>>> appear. Rather than uploading a thousand small files, I'd rather
>>> upload a dozen or so files and retrieive the tables as needed.
>>>
>>> http://1littleworld.net/tables1.html
>>>
>>> Just a rough draft to show what I'm talking about. I know there is no
>>> character encoding so don't be bitching about it not validating.
>>>
>> SELECT fields FROM table WHERE condition ORDER BY field LIMIT number
>
> Is this from mysql? Did I say I wanted to use mysql?
Otherwise fopen,..fseek..fread(n)..fclose..?
|
|
|