Re: input a section of a large file [message #171671 is a reply to message #171658] |
Sat, 15 January 2011 04:00 |
Adrienne Boswell
Messages: 25 Registered: October 2010
Karma:
|
Junior Member |
|
|
Gazing into my crystal ball I observed richard <member(at)newsguy(dot)com>
writing in news:j3opbqdcvvac$(dot)dlg(at)evanplatt(dot)sux:
> 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?
As others have said in this and previous threads, MySQL is the best tool
for the job. Yes, you can walk from Los Angeles to San Franisco, but
it's a heck of a lot faster and easier to fly.
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
|
|
|