title: Find if a value exist in a CSV file with PHP
body: <p>This is my code to check if a row of my .csv file contains a specific name, but it does not work.</p>
  
  <p>I think it has something to do with the <code>if</code> statement.</p>
  
  <pre><code>$file_handle = fopen("sources.csv", "r");
  
  while (!feof($file_handle) ) {
  
      $line_of_text = fgetcsv($file_handle, 1024);
  
      if ($line_of_text[0] = 'paul') {
          echo 'Found';
      }
  }
  fclose($file_handle);
  </code></pre>
  
  <p>I am trying to check in sources.csv files, for the name 'Paul' .</p>
  
  <p>I can't use a database like MySQL for technical reasons. </p>