Welcome Guest, Not a member yet? Register   Sign In
can I directly use variables from URI?
#2

[eluser]kkristo[/eluser]
You can check from controller:

function showItem($id){
if ( $this->item_model->checkvalidID() == false){
$this->output->set_status_header(400);
}else{
// getdata
}
}


Messages In This Thread
can I directly use variables from URI? - by El Forum - 09-12-2010, 08:09 PM
can I directly use variables from URI? - by El Forum - 09-13-2010, 04:36 AM
can I directly use variables from URI? - by El Forum - 09-13-2010, 07:08 AM
can I directly use variables from URI? - by El Forum - 09-13-2010, 05:55 PM
can I directly use variables from URI? - by El Forum - 09-13-2010, 07:08 PM
can I directly use variables from URI? - by El Forum - 09-13-2010, 08:21 PM
can I directly use variables from URI? - by El Forum - 09-14-2010, 01:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB