0

I been desperately looking for a good simple complete tutorial on how to parse CSV with php...and not just stupid example on the php.net that is everywhere. I m very new to CSV, what i need is to be able to search through the csv file (prolly fgetcsv()), i have a addresses csv file which contains city, country etc....i want to only select the rows that contain a specific city (column) and want to display that row and all rows matching the city....should be simple

thanks much appreciate the help....

2
Contributors
1
Reply
2
Views
12 Years
Discussion Span
Last Post by BMAPGh
0

I been desperately looking for a good simple complete tutorial on how to parse CSV with php...and not just stupid example on the php.net that is everywhere. I m very new to CSV, what i need is to be able to search through the csv file (prolly fgetcsv()), i have a addresses csv file which contains city, country etc....i want to only select the rows that contain a specific city (column) and want to display that row and all rows matching the city....should be simple

thanks much appreciate the help....

back in 2005 you could do nothing really.
right now (2009) you could use a PEAR Package.
that lets you grab a specific row, column or cell!
http://pear.php.net/package/File_CSV_DataSource

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.