title: Can we pass array data in redirect function of Codeigniter?
body: <p>How do you pass array data with a redirect function in Codeigniter?</p>
  
  <p>I've passed an array but in URL print base url/controller/Array.
  in My Controller.</p>
  
  <pre><code> function getDefaultValue()
   {
       $dataArr=stateData();
       /*$dataArr array */ 
       redirect('home/'$dataArr);
  
   }
  </code></pre>