I have an issue I want to have a php file set on my server that appends to a csv file and also reads and queries that csv file for a column.
I want a csv file with the following columns
Email, First, name
I want the php to query the csv and evaluate if form.email is the same as any email in the csv file then throw and error.
If the email is not in the list and is a valid email then go ahead and append a line to the csv file with the required columns.
I am a php novice so if anyone can help me I appreciate it.