Welcome Guest, Not a member yet? Register   Sign In
Checking for postdata
#1

[eluser]giovannidc[/eluser]
Hey all,

I was trying to check for postdata using the codeigniter library. Normally I would just use isset($_POST['test']) but thought I'd give it a codeigniter try by using:
isset($this->input->post('test')

But that just gives me a server error. Any ideas on how to do it the codeigniter way?
#2

[eluser]giovannidc[/eluser]
Never mind, I see
Code:
if ($this->input->post('test'))
does the trick. Didn't work for me the first time because i left out the name attribute.




Theme © iAndrew 2016 - Forum software by © MyBB