Welcome Guest, Not a member yet? Register   Sign In
Avoiding something with $_POST
#4

[eluser]aquary[/eluser]
Are you trying to check if data is posted from forms?

I use something like:

Form's html:
Code:
<form name="submitform" action="somewhere">
<input type="text" name="abc">
<input type="submit" name="submit" value="submit">
</form>

In CI:
Code:
<?
     if($this->input->post('submit'){
          // process data
     }
     $this->load->view('form');
?>


Messages In This Thread
Avoiding something with $_POST - by El Forum - 07-29-2009, 07:33 PM
Avoiding something with $_POST - by El Forum - 07-29-2009, 08:03 PM
Avoiding something with $_POST - by El Forum - 07-29-2009, 09:20 PM
Avoiding something with $_POST - by El Forum - 07-29-2009, 11:10 PM
Avoiding something with $_POST - by El Forum - 10-05-2009, 09:24 PM
Avoiding something with $_POST - by El Forum - 10-05-2009, 09:41 PM
Avoiding something with $_POST - by El Forum - 10-06-2009, 06:40 AM
Avoiding something with $_POST - by El Forum - 10-06-2009, 09:42 AM
Avoiding something with $_POST - by El Forum - 10-06-2009, 11:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB