title: PHP codeigniter how to make array of variables
body: <p>I am working in Codeigniter. I want to know how to create a array of variables. Besides demonstrated below.</p>
  
  <pre><code>$this-&gt;data['country'] = $country;
  $this-&gt;data['state'] = $state;
  $this-&gt;data['city'] = $city;
  </code></pre>