[eluser]codeigniterzzz[/eluser]
Here is the view file:
Code:
<form action = "http://yoinko.com/locker_settingstwo/processform" method = "POST">
<div class = "lockersettingstwodiv">
<h2><?php echo $this->session->userdata('labelname'); ?></h2>
<p> Control who can view/ReGemz the collection in this locker </p>
<input type = "text" name = "testing" value = "" />
<input type="radio" name="permission" value="1" /> Public - Others can view/edit this locker<br/>
<input type="radio" name="permission" value="2" /> Me Only - Only you can view/edit this locker<br/>
<input type="radio" name="permission" value="custom" /> Custom - Locked to everyone, meaning only friends I choose can view/edit this locker<br/>
</div>
<input type="submit" name = "Next" value="Next" class="btn btn-large btn-primary" />
<input type="submit" name = "Cancel" value="Cancel" class="btn btn-large btn-primary" />
</form>
and here is the controller/method that receives the form's post.
Code:
function processform()
{
echo $_SERVER['REQUEST_METHOD'];
}
now why is it printing GET instead of POST??? because clearly the form is posting...I have no idea why this is happening, and any help suggestions would be appreciated...thanks.