title: how can I print multiple lines into one csv cell from php ?
body: <p>I exporting an records into CSV from PHP code, but I want some multiple records into a same column see below</p>
  
  <p><img src="https://i.stack.imgur.com/6d9b5.png" alt="enter image description here"></p>
  
  <p>But when use below code that gives the below results</p>
  
  <pre><code>foreach($rows12 as $key =&gt; $value) {
  
      $row['_my_marks'] .= $value['marks']."\t\n";                    
  } 
  </code></pre>
  
  <p>Result:</p>
  
  <p><img src="https://i.stack.imgur.com/dlPqY.png" alt="enter image description here"></p>
  
  <p>I use "\t\n" to insert into new row but it won't work. So can you please advise how i can achieve this.</p>