title: Zip multiple files and download using php codeigniter
body: <p>I am trying to create a zip file including 2 text files and download it. Here is my code. $fda and $fwl are 2 array datas.</p>
  
  <pre><code>        $dataZip = array(
              './downloads/fda.in' =&gt; $data1,
              './downloads/fwl.in' =&gt; $data2
          );
          $this-&gt;zip-&gt;add_data($dataZip);
          $this-&gt;zip-&gt;archive('./downloads/files_backup.zip');
          $this-&gt;zip-&gt;download('files_backup.zip');
  </code></pre>
  
  <p>But it always returns error as a wrongly formatted string and nothing is downloaded.</p>
  
  <pre><code>fda.in�X�n�0}�+�
  </code></pre>
  
  <p>Could anybody tell me where I was wrong?</p>