How to put a csv data string in an array using PHP?
<p>We have split up a CSV file into individual lines and those lines have been stored into a database.  Normally I would use fgetcsv to import each line of a file into an array when it is imported.  However, since the CSV data is now stored in the database, I cannot use that function anymore.  Is there an equivalent function that would import a single csv line as a string and then break it into and array?  </p>

<p>I realize I could just explode based on "," but there are some other issues with doing that like the way Excel uses quotations around some fields, etc.  </p>
