FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


PHP. Parsing csv files





aciminsk
Just playing with PHP. Figured out how to use csv files. Turnes out there might be be many ues for the feature. Have coded my own process, searched some ready made csv classes. Mainly thery are just for demonstration purposes. But is there a good csv class, which would be able not only to return the whole file in a table, but also search the file for particular records, perform sort of SQL quieries on the file etc.? Would appreciate suggestions.
Ducksteina
Maybe there's something right for you:

http://mikeleigh.com/forum/index.php/topic,14.0.html
http://mycsv.sourceforge.net/docs/index-english.html
http://www.bonneville.nl/software/OneFile/ (scroll to OneSQL, which uses a sql syntax, but CSV files)
aciminsk
Quote:
Ducksteina
PostPosted: Mon Jun 05, 2006 11:28 am Post subject:
Maybe there's something right for you:

http://mikeleigh.com/forum/index.php/topic,14.0.html
http://mycsv.sourceforge.net/docs/index-english.html
http://www.bonneville.nl/software/OneFile/ (scroll to OneSQL, which uses a sql syntax, but CSV files)


Thanks a lot. The last one looks interesting. Shall have to make sense out of it. Hope I do.
MrBaseball34
Here is a very good resource for PHP Classes:

http://www.phpclasses.org

I have used several classes found there.
aciminsk
Quote:
MrBaseball34
PostPosted: Fri Jun 09, 2006 7:04 pm Post subject: PHPClasses.org
Here is a very good resource for PHP Classes:

http://www.phpclasses.org

I have used several classes found there.


Yes, I have already registered to this site. Have found several CSV handling classes. And actually am testing one of them (csv_bv, if I'm not mistaken). Works fine, though lacks some of the functionality I'm looking for. Namely, I need to search particular records in a csv file. Just displaying content of csv file is not enough. Nevertheless< thanks for suggestion.
Related topics
req: PHP to list files in directory, and link to them
Can Google Hack?
[PHP] Calling dynamic pictures
Php parsing error! Need help
How to change extension php to html but the php script still
Making a Dynamic link button
PHP in HTM or vice versa for search ranking
Folder structure and file names - index or name, php or html
php and pl files
How to build PHP mail form with Spam protection
xml parsing
The best php and html editor?
<?php ?> Tags
Converting .csv files
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.