Timeline for codeigniter form POST Empty in Controller from View
Current License: CC BY-SA 4.0
39 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 23, 2021 at 18:39 | answer | added | Rafael | timeline score: 1 | |
| Feb 5, 2021 at 19:46 | answer | added | heySushil | timeline score: 1 | |
| Jul 14, 2020 at 14:41 | vote | accept | DonOfDen | ||
| Jul 14, 2020 at 14:40 | vote | accept | DonOfDen | ||
| Jul 14, 2020 at 14:40 | |||||
| S Oct 8, 2019 at 3:25 | history | suggested | Philippe Delteil | CC BY-SA 4.0 |
improved formatting
|
| Oct 7, 2019 at 23:33 | review | Suggested edits | |||
| S Oct 8, 2019 at 3:25 | |||||
| Mar 29, 2016 at 10:43 | comment | added | DonOfDen | As usual post.. @Abdulla | |
| S Mar 28, 2016 at 18:43 | history | bounty ended | Community Bot | ||
| S Mar 28, 2016 at 18:43 | history | notice removed | Community Bot | ||
| Mar 27, 2016 at 16:22 | comment | added | Tim Ogilvy | Please post at least the relevant portions of your controller code. The problem is evidently not in any of the sections you have posted. | |
| Mar 27, 2016 at 7:04 | comment | added | user4419336 | Have you set your base url some times if you leave it blank will not submit form. | |
| Mar 25, 2016 at 12:25 | comment | added | Abdulla Nilam | @TomPHP asnwer this comment question | |
| Mar 23, 2016 at 21:43 | comment | added | Linus | how you are passing it to controller??? | |
| Mar 23, 2016 at 16:04 | comment | added | DonOfDen | No AJAX.. and also tried with AJAX when it didnt worked.. but didnt worked both ways.. | |
| Mar 23, 2016 at 13:46 | comment | added | Abdulla Nilam | @TomPHP how you pass this?? AJAX?? post that too | |
| Mar 22, 2016 at 12:59 | comment | added | Atif Tariq | Please print this in your controller: $this->input->post(NULL) | |
| Mar 22, 2016 at 12:56 | comment | added | Narf | That update is very unclear and has nothing to do with the original question ... | |
| Mar 22, 2016 at 12:51 | comment | added | DonOfDen | @Narf can u check my update. | |
| Mar 22, 2016 at 12:51 | history | edited | DonOfDen | CC BY-SA 3.0 |
added 387 characters in body
|
| Mar 21, 2016 at 19:31 | comment | added | Narf |
Well, something is modifying your $_POST array at runtime and CodeIgniter doesn't do that by default. We obviously couldn't review your thousands lines of code, but we can't blindly guess the reason either ...
|
|
| Mar 21, 2016 at 6:24 | comment | added | DonOfDen | Sorry the view file is of 2300 lines cant post in stack .. :( I am using html form only.. i am not creating form in codeignator.. | |
| Mar 21, 2016 at 6:22 | comment | added | DonOfDen | No it is not an ajax.. but in ajax also i tried but tis not working :( | |
| Mar 21, 2016 at 6:10 | comment | added | StreetCoder | @TomPHP please could you show the full view file as well as the controller? Such of issue happens for duplicate name of input field? Moreover, is it ajax request? | |
| Mar 20, 2016 at 20:59 | answer | added | JP. Aulet | timeline score: 5 | |
| Mar 20, 2016 at 20:11 | comment | added | DonOfDen | @petervanloo yes i did that but i dont see the value posted in tht. empty post array. | |
| Mar 20, 2016 at 19:11 | comment | added | Gentle153 |
Have you tried enabling the profiler to see what data is submitted? Add $this->output->enable_profiler(TRUE); at the start of your controller method to do so.
|
|
| S Mar 20, 2016 at 16:59 | history | bounty started | DonOfDen | ||
| S Mar 20, 2016 at 16:59 | history | notice added | DonOfDen | Authoritative reference needed | |
| Mar 3, 2016 at 10:40 | comment | added | Atural | oh sorry i thought you were talking about your controller (totally overlooked that) - so the problem is CI related in your controller did you try to execute something like $this->input->input_stream('item1') and whats the outcome of this ? because if this is empty too i really think you might have a redirect | |
| Mar 3, 2016 at 10:28 | comment | added | DonOfDen | @sintakonte i did that already and posted in my question as well. | |
| Mar 3, 2016 at 8:53 | comment | added | Atural | did you try to var_dump($_GET) just out of curiousity - because the data are at some place or maybe you've somewhere a redirect without knowing it - just edit the index.php and make a var_dump on top and let the script die after that | |
| Mar 3, 2016 at 5:26 | comment | added | DonOfDen | No Nothing like that. I tired giving different values but still no answer. Yes have Jquery in the page but not for order val. | |
| S Mar 3, 2016 at 3:43 | history | suggested | user5857081 | CC BY-SA 3.0 |
fixed grammar, corrected spelling
|
| Mar 3, 2016 at 3:04 | review | Suggested edits | |||
| S Mar 3, 2016 at 3:43 | |||||
| Mar 2, 2016 at 20:53 | comment | added | MonkeyZeus |
Do you have some jQuery running on the page which is doing $('#order1').val(''); or anything like that?
|
|
| Mar 2, 2016 at 20:41 | comment | added | MonkeyZeus |
What CodeIgniter version? Do you have XSS filtering turned on? Try making order1 = HELLO. What does echo $this->input->post('order1'); produce?
|
|
| Mar 2, 2016 at 20:12 | comment | added | devpro | Maybe u r using order1 somewhere | |
| S Mar 2, 2016 at 19:42 | review | Triage | |||
| Mar 2, 2016 at 20:45 | |||||
| S Mar 2, 2016 at 19:42 | history | asked | DonOfDen | CC BY-SA 3.0 |