Google

Saturday, July 25, 2009

Read CSV file through PHP

Read CSV file through PHP

/*

$file_handles = fopen("my.csv", "r");

while (!feof($file_handles) ) {

$line_of_texts = fgetcsv($file_handles, 1024);

print $line_of_texts[0] . $line_of_texts[1]. $line_of_texts[2] . "
";

}

fclose($file_handle);

*/

8 comments:

J&D said...

米蘭情趣用品情趣用品情趣飛機杯自慰套充氣娃娃AV女優按摩棒跳蛋潤滑液角色扮演情趣內衣自慰器穿戴蝴蝶變頻跳蛋無線跳蛋電動按摩棒情趣按摩棒丁字褲G點SM後庭

視訊美女視訊做愛


網頁設計
網頁設計

Jhon said...

/*
$line_of_texts = fgetcsv($file_handles, 1024);

*/

what the above line is intructing!

- John Devos
Magento Themes

tania said...

@ Jhon it is quite simple one parameter is file handler the fgetcsv function return value to line_of_texts.


- Tanya
Web Designers

Magento Templates said...

Surely a great post on the topic of as how to go and read a CSV file through use of PHP....

Magento Themes

Chloe said...

A great post with on the topic of reading CSV posts through PHP... Well done thanks a lot for sharing in the information...

Commercial Buildings for Sale

Chloe said...

A great post as to how one can read a CSV file using PHP scripting. Well done a great effort...

Garage

Aanya said...

Nice information, many thanks to the author. It is incomprehensible to me now, but in general,
The usefulness and significance is overwhelming.
Thanks again and good luck!
----------------------
play roulette

sabreena said...

I totally agree with what you had to say.




---------------

Casino online