i'm a bit new to PHP, I'm familiar with PERL, so learning PHP has been somewhat easy, however, i'm trying to figure out how to create a search box, and then search a comma delimited file.
I have the file parsed, and i can print out the whole thing but i want to search for zip code or city name then print out only those results.
I parsed the file like this
$search_this = implode(', ', file("zip.csv"));
print "$search_this";
here is the first line of the csv file if that helps understand what i'm trying to do
it's ordered like this
zip |ignored |zip |city |state
00210,USME0205,00210,Portsmouth,NH