title: Fatal error: Call to undefined function form_open() in c
body: <p>i got this error and daunt know where i went wrong i am new to codeigniter so i am sure its something stupid can anyone figure this out tnx in advance.</p>
  
  <p>create_view.php</p>
  
  <pre><code>     &lt;body&gt;
          &lt;?php echo form_open('create'); ?&gt;
          &lt;ul id="accordion"&gt;
   &lt;li&gt;
     &lt;a&gt;Survey Creation&lt;/a&gt;
       &lt;ul id="survay"&gt;  
         &lt;li&gt;Enter a question:&lt;?php echo form_input('Question')?&gt;&lt;/li&gt;
         &lt;li&gt;Answer A: &lt;?php echo form_input('qA' );?&gt;&lt;/li&gt;
         &lt;li&gt;Answer B: &lt;?php echo form_input('qB' );?&gt;&lt;/li&gt;
         &lt;li&gt;Answer C: &lt;?php echo form_input('qC' );?&gt;&lt;/li&gt;
         &lt;li&gt;&lt;?php echo form_submit('submit', 'Set This Question' );?&gt;&lt;/li&gt;
        &lt;/ul&gt;  
    &lt;/li&gt;
  </code></pre>
  
  <p>
      </p>
  
  <p>create.php</p>
  
  <pre><code> &lt;?php
  
  class Create extends CI_Controller{
  
      function index(){
  
          $this-&gt;load-&gt;view('create_view');
      }
      // insert data
      function create1()
      {   
       $data = array(
           'Question' =&gt; $this-&gt;input-&gt;post('Question'),
           'qA' =&gt; $this-&gt;input-&gt;post('qA'),
           'qB' =&gt; $this-&gt;input-&gt;post('qB'),
           'qC' =&gt; $this-&gt;input-&gt;post('qC'),
  
  
           );
  
  
            $this-&gt;create_model-&gt;add_record($data);
            $this-&gt;home();
  
      }
  
  
  
   }
  
  ?&gt;
  </code></pre>