This question already has an answer here:
- How to extract data from csv file in PHP 10 answers
I have a text file which consists of content that is comma separated.
Let my file be test.txt
. The content is:
text1, text2, text3
I want to read this file and assign these three values into 3 variables.
I have checked readfile(filename,include_path,context)
</div>