Re: File reading help with Syntax
| From: | Analysis & Solutions | Date: | Wed, 17 Jul 2002 18:19:18 +0000 |
| Subject: | Re: File reading help with Syntax | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-108138@lists.php.net to get a copy of this message | ||
On Wed, Jul 17, 2002 at 10:00:29AM -0400, Chris Crane wrote:
> I am getting data froma website for stock information. If I type in the
> brower the URL I get a text file display list this;
>
> Date,Open,High,Low,Close,Volume
> 16-Jul-02,7.92,8.10,7.68,7.82,605500
> 15-Jul-02,7.98,8.02,7.59,8.02,577200
> 12-Jul-02,7.80,8.00,7.57,7.95,411100
> 11-Jul-02,7.82,7.94,7.34,7.80,802400
So, now you're working an another approach to the stock quote question,
eh?
Use these functions:
fopen()
fgetcsv()
Look at the manual on how to use them. If, for some reason, that's not
clear, check out the archives for this list on http://groups.google.com/.
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409