• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
POST problems

I'm confused beyond belief. I don't know why this doesn't work:


Top form doesn't work (done in CI)

copy of top form next on the page does (done in the sandbox outside of CI)

Both go to the same center content and should have the POST contents displayed.

The (relevant lines from the) CI controller:

function test2()

Code to show the post:

echo '<ul>';
foreach ($_POST as $key=>$value)
    echo "<li>$key = $value</li>";
echo '</ul>';

Code to get the value in the page:


The rest of the posts on the site work. Obviously I'm missing something, would appreciate some help.

[eluser]Sean Gates[/eluser]
I'm not sure why you loop the $_POST array, because you should be able to use the $statez variable just fine without it.

So, defaultTwoColumn is the view that has this in it?:


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.