title: Unable to grab text from form_input
body: <p>I am trying to obtain items that are within my view input boxes.
      I am using:</p>
  
  <pre><code>$email = $this-&gt;input-&gt;post('email', true);
  </code></pre>
  
  <p>In order to obtain the what is within the input box. But it is not obtaining anything.</p>
  
  <p>The function is run with:</p>
  
  <pre><code>&lt;?php $function = array('auth/start', $price);?&gt;
  
  &lt;form action="&lt;?php echo base_url($function);?&gt;"method="post"&gt;
  &lt;script
  src="https://checkout.stripe.com/checkout.js" class="stripe-button"
  data-key="pk_test_xZrfWwuBmwBzUBynB96OgZhU"
  data-amount="" 
  data-name="Turbine Engine"
  data-description="Individual Membership"
  data-image="/128x128.png"&gt;
  &lt;/script&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I have the following:</p>
  
  <p>Controller:</p>
  
  <pre><code>function start()
             {
                  $username = 'a';
                  $price = '100';
                  $password = 'password';
                  $email = $this-&gt;input-&gt;post('email');
  
                  $end = date('Y-m-d', strtotime('+1 years'));
  
                  $additional_data = array(
              'first_name' =&gt; $this-&gt;input-&gt;post('first_name'),
                              'middle_initial' =&gt; $this-&gt;input-&gt;post('middle_initial'),
              'last_name'  =&gt; $this-&gt;input-&gt;post('last_name'),
              'company'    =&gt; $this-&gt;input-&gt;post('company'),
              'phone'      =&gt; $this-&gt;input-&gt;post('phone'),
                          'biography'      =&gt; $this-&gt;input-&gt;post('biography'),
                          'address'      =&gt; $this-&gt;input-&gt;post('address'),
                          'city'      =&gt; $this-&gt;input-&gt;post('city'),
                          'state'      =&gt; $this-&gt;input-&gt;post('state'),
                          'zip'      =&gt; $this-&gt;input-&gt;post('zip'),
                          'position'      =&gt; $this-&gt;input-&gt;post('position'),
                          'country'      =&gt; $this-&gt;input-&gt;post('country'),
                          'website'      =&gt; $this-&gt;input-&gt;post('website'),
                              'listing'               =&gt; 'N',
                              'type'                  =&gt; 'I',
                              'registration_end' =&gt; $end,
          );
  
  
                 //load payment library
                 $this-&gt;load-&gt;library( 'stripe' );
  
  
                 // Get the credit card details submitted by the form
                 $token = $_POST['stripeToken'];
  
  
  
                 // Create the charge on Stripe's servers - this will charge the user's card
                  try {
  
  
                      //attempt to charge user
                      $this-&gt;stripe-&gt;charge_card( intval($price), $token, "Individual Membership" );
                      } 
                      catch(Stripe_CardError $e) 
                      {
                        // The card has been declined
                      }
  
  
          //If passed then add a new user
                      //add the user
                      $this-&gt;ion_auth-&gt;register($username, $password, $email, $additional_data);
          $this-&gt;session-&gt;set_flashdata('message', 'Payment Successful');
  
                    //TEST
                    //load parameters
                    $type = 'new account';
                    $date = date('Y-m-d');
                    date_default_timezone_set('Australia/Melbourne');
                    $time = date('h:i:s a', time());
                    //load the controller for adding activity
                    $this-&gt;load-&gt;library('../controllers/activity');
                    $this-&gt;activity-&gt;insert($email, $type, $date, $time);
  
                      //send to login
                      //$this-&gt;showView('login');
          redirect("auth", 'refresh');
  
       }
  </code></pre>
  
  <p>View:</p>
  
  <pre><code>&lt;div class="container"&gt;
              &lt;div class="row"&gt;
  &lt;div class="col-md-6 col-md-offset-3"&gt;
  &lt;div class="panel panel-default"&gt;
      &lt;div class="panel-body"&gt;
  
          &lt;!--Put Labels in order--&gt;
          &lt;style&gt;
              label 
              {
           display: inline-block;
       width: 120px;
      }
      &lt;/style&gt;
  
   &lt;h4&gt;Individual Payment Page&lt;/h4&gt;
  
   &lt;b&gt;Make sure your email is correct&lt;/b&gt;
  
   &lt;hr&gt;
  
  
   &lt;p&gt;
          &lt;?php echo form_label("Email:");?&gt; &lt;br /&gt;
          &lt;?php echo form_input(array('id' =&gt; 'email', 'name'=&gt;'email','value'=&gt;$email,'size'=&gt;'30',
   'readonly'=&gt;'true'));?&gt;
    &lt;/p&gt;
  
  &lt;!-- Make Hidden Labels to Pass the username and password--&gt;
     &lt;p&gt;
          &lt;?php echo form_input('username',$username);?&gt;
          &lt;?php echo form_input('password',$password);?&gt;
          &lt;?php echo form_input('first_name', $first_name);?&gt;
          &lt;?php echo form_input('middle_initial',$middle_initial);?&gt;
          &lt;?php echo form_input('last_name', $last_name);?&gt;
          &lt;?php echo form_input('company', $company);?&gt;
          &lt;?php echo form_input('phone', $phone);?&gt;
          &lt;?php echo form_input('biography',$biography);?&gt;
          &lt;?php echo form_input('address', $address);?&gt;
          &lt;?php echo form_input('city', $city);?&gt;
          &lt;?php echo form_input('state', $state);?&gt;
          &lt;?php echo form_input('zip', $zip);?&gt;
         &lt;?php echo form_input('position', $position);?&gt;
         &lt;?php echo form_input('country', $country);?&gt;
         &lt;?php echo form_input('website', $website);?&gt;
    &lt;/p&gt;
    &lt;br&gt;
  
  
    &lt;p&gt;
        &lt;b&gt;Click Below for Payment&lt;/b&gt; &lt;br&gt;
    &lt;/p&gt;
  
    &lt;p&gt;&lt;h4&gt;1.) Regular Individual &lt;/h4&gt;&lt;br&gt;
    &lt;?php echo form_label("Price:");?&gt; &lt;br /&gt;
          &lt;?php echo form_input(array('name'=&gt;'price','value'=&gt;$price,'size'=&gt;'30',
   'readonly'=&gt;'true'));?&gt;
    &lt;/p&gt;
  
  
    &lt;?php $function = array('auth/start', $price);?&gt;
  
    &lt;form action="&lt;?php echo base_url($function);?&gt;"method="post"&gt;
    &lt;script
    src="https://checkout.stripe.com/checkout.js" class="stripe-button"
    data-key="pk_test_xZrfWwuBmwBzUBynB96OgZhU"
    data-amount="" 
    data-name="Turbine Engine"
    data-description="Individual Membership"
    data-image="/128x128.png"&gt;
    &lt;/script&gt;
    &lt;/form&gt;
  
    &lt;p&gt;&lt;h4&gt;2.) Regular Individual with Listing Enabled&lt;/h4&gt;&lt;br&gt;
    &lt;?php echo form_label("Price:");?&gt; &lt;br /&gt;
          &lt;?php echo     form_input(array('name'=&gt;'price_listing','value'=&gt;$total,'size'=&gt;'30',
   'readonly'=&gt;'true'));?&gt;
    &lt;/p&gt;
   &lt;?php $function2 = array('auth/start_listing', $username, $password, $email, $first_name, $middle_initial, $last_name, $company, $phone, urldecode($address), $city, $state, $zip, urldecode($biography), $position, urldecode($country), urldecode($website), $total);?&gt;
  
  &lt;form action="&lt;?php echo base_url($function2);?&gt;"method="post"&gt;
  &lt;script
  src="https://checkout.stripe.com/checkout.js" class="stripe-button"
  data-key="pk_test_xZrfWwuBmwBzUBynB96OgZhU"
  data-amount="" 
  data-name="Turbine Engine"
  data-description="Individual Membership"
  data-image="/128x128.png"&gt;
   &lt;/script&gt;
  &lt;/form&gt;
  
  
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;/div&gt;
              &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Thank you. I appreciate any help.</p>