my view:
<form action="<?=base_url()?>index.php/frontend/main_con/temp">
<input type="text" name="temp">
<input type="submit"/>
</form>
Controller:
function temp(){
echo $_GET['temp'];
}
i cant able to reach this function and i got an error
An Error Was Encountered
The URI you submitted has disallowed characters.
So, how to pass form data in controller using GET method?
thanx in advance.
ONLY worked for me after I added the following line to applications/config/config.php: