Ok, tried a million things, thought someone here could help - you always do!
i have a CSV file that I need to search through to get 2 bits of info.
There are only 2 fields, "company" and "domain". The CSV looks like this
jason,www.1domain.info|www.2domain.info|
mia,www.anotherdomain.info|www.evenmore.info|
I have php getting the domain name - ie "www.1domain.info", and checking to see if exists in the csv - no problem
So with the data "www.1domain.info", how do I parse the CSV file to see what company owns it?
something like
$company = #search_CSV_for_domain_name_and_return_company
I appreciate your help