Welcome Guest, Not a member yet? Register   Sign In
CI Killing the $_POST variable
#3

[eluser]HarishKumar[/eluser]
Hi
I think there is a problem in your action.Try the following

<?php echo form_open('main');?>
<p>&lt;input type="text" name="email_address" /&gt; &lt;input type="submit" name="Submit" id="submit_button" /&gt;&lt;/p>
&lt;?php form_close();?&gt;

OR

&lt;form action="&lt;?php echo base_url().'main'?&gt;" method="post"&gt;

<p>&lt;input type="text" name="email_address" /&gt; &lt;input type="submit" name="Submit" id="submit_button" /&gt;&lt;/p>
&lt;/form&gt;

Both will be working.Try it out


Messages In This Thread
CI Killing the $_POST variable - by El Forum - 12-16-2009, 03:50 PM
CI Killing the $_POST variable - by El Forum - 12-17-2009, 09:03 PM
CI Killing the $_POST variable - by El Forum - 12-18-2009, 01:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB