I'm using CodeIgniter and want to load a view such as:
$this->load->view('image/delete/' . $_POST['id'], $data);
The $_POST['id'] is a required parameter of my 'delete' function inside my 'image' controller. I would have thought this would work fine, but I'm getting a CI error stating:
"Unable to load the requested file: image/delete/113.php"
I don't understand why CI is adding ".php" to the end of this, no wonder it can't find this file. What am I doing wrong?