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.
PHP. Parsing csv files
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)
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)
| 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.
Here is a very good resource for PHP Classes:
http://www.phpclasses.org
I have used several classes found there.
http://www.phpclasses.org
I have used several classes found there.
| 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.
