im trying to change the value of a field in $\_POST so that it will load the correct content for whatever has been posted.

When a user goes onto my website $\_POST is initially set as

`$_POST['order_page_content'] = 'list'`

I then have a form in my view.content.php file that looks like this:

```
<td><form action='http://localhost/magento_soap_client/fulfilment' method='POST'>
                        <input type='hidden' name='order_page_content' value='info'/>
                        <input type='hidden' name='order_id' value='$order_info->order_id'/>
                        <input type='submit' value='View'/>

                        </form></td></tr>";

```

So the value of $\_POST['order\_page\_content'] should change to info when the button is clicked. Therefore the content of the page should change...

Once the button is clicked, i can see via firebug that the value has changed in the post, its just my page isn't getting set to it

So how do i make the content change based on the post value that got submitted? Or what is going wrong?

**EDIT**

Ok guys ive tried what you said, but its still not happening, i dont know if i have put it in the wrong place or what... i think the easiest way is to show you my code.

The script to decide which content it is is here:
[link](http://codeviewer.org/view/code:382a)

and the script that calls it is here:

```
public function get_html() {
    $m_html = null;

    if($_POST['order_page_content'] == 'list'){
    $m_obj_html = new content();
    $m_html = $m_obj_html->get_page_content('list');
    }
    else if($_POST['order_page_content'] == 'info'){
        $m_obj_html = new content();
        $m_html = $m_obj_html->get_page_content('info');
    }

    return $m_html;
}

```

The post['order\_page\_content'] is getting set in the bootstrap initially to list

Thanks