title: MVC send value string controller to view
body: <p>controller</p>
  
  <pre><code>&lt;?php
  $value = $this-&gt;input-&gt;post('value');
  $this-&gt;$data["value "] = $value;
  $this-&gt;output(view,$this-&gt;data);
  ?&gt;
  </code></pre>
  
  <p>error</p>
  
  <blockquote>
    <p>Message: Undefined variable: data</p>
  </blockquote>