Welcome Guest, Not a member yet? Register   Sign In
$this->input->post('do') failed
#5

[eluser]Apfel1988[/eluser]
Hello,
you can see the hiddenfield do, what i will check with the Post array.

Code:
<input type="hidden" value="1" name="do" />

And i debugged the post array with
Code:
print_r($_POST);
but the return value was null... Sad




[quote author="OwanH" date="1229322734"]Hey,

Well if you have access to the httpd.conf file you can ensure that it is configured to allow POST variables (I don't see any reason why it wouldn't be though so that's probably not it).

OK looking at your code it appears fine to me...question... which $_POST variable are you attempting to access with $this->input->post()? The title of this thread has $this->input->post('do') but I see no form variable named 'do'.

Also to check if there is data in the $_POST array you can make a call to the print_r PHP function, like so
Code:
print_r($_POST);
. This will dump the elements of the array. Good for quick and dirty debugging of your arrays.[/quote]


Messages In This Thread
$this->input->post('do') failed - by El Forum - 12-13-2008, 07:31 AM
$this->input->post('do') failed - by El Forum - 12-13-2008, 09:26 PM
$this->input->post('do') failed - by El Forum - 12-14-2008, 07:53 AM
$this->input->post('do') failed - by El Forum - 12-14-2008, 06:32 PM
$this->input->post('do') failed - by El Forum - 12-15-2008, 10:58 AM
$this->input->post('do') failed - by El Forum - 12-15-2008, 12:06 PM
$this->input->post('do') failed - by El Forum - 12-15-2008, 01:23 PM
$this->input->post('do') failed - by El Forum - 12-15-2008, 01:43 PM
$this->input->post('do') failed - by El Forum - 12-15-2008, 01:45 PM
$this->input->post('do') failed - by El Forum - 12-31-2008, 12:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB