How to read from a csv file and write into text file in php?
<p>I need to read the below data from csv file</p>

<p>"here goes the question,option-1,option-2,option-3,option-4,B"</p>

<p>and write it into a text file exactly as follows</p>

<p>here goes the question</p>

<p>A) option-1</p>

<p>B) option-2</p>

<p>C) option-3</p>

<p>D) option-4</p>

<p>Correct Answer: B</p>

<p>can this be done using php?</p>
