I have a problem with PHP. I need to find out, if first row of .CSV file contains exact value. So far I tried:
$file = file_get_contents("./file.csv");
if (strpos($file, "Value") !== false) {
echo "Found";
}
How to check, if first line of .CSV file contains text that says "Value"?