CodeIgniter配置问题:POST方法无效

I copied a perfectly working CodeIgniter Project from my friends computer. Everything else works perfectly fine but none of the forms works. Again i tried sending the form using GET method and it perfectly works but only the POST method does not work.

This is what the view looks like

<form action="<?php echo base_url();?>team/administrator/team/insert" method="post"  name="new_team">
    //etc etc i removed all the fields just to make it look simple
    <input type="submit" value="Save" name="new_team">
</form>

And this is what the controller looks like

if(isset($_POST['new_team']))
    echo "Inserted";
else
     echo "Post was not inserted";

Result: Its shows that the post was NOT inserted. What is wrong? Solutions needed quick.. I think there's something wrong with the configuration because the same code works in a different computer

Repair syntax

if(isset($_POST['new_team']))
{
  echo "echo here";
}
else {
 echo "echo there";
}

have you tried CI's input class?

$this->input->post('new_team');

I'd suggest you better use

$this->input->get_post('new_team');

this allows you to switch between GET and POST without rewriting code. First try get, then post..

I uninstalled the whole WAMP server and then installed XAMPP server and imported everything from it. Then it started working. There was something wrong with the configuration. Anyway thanks everyone for the help :-)