[eluser]deed02392[/eluser]
I've got a validation routine for a certain ID, which basically checks it's valid in the database, which is fine when that is submitted in a form as I just use set_rules() against the _REQUEST name, but I'm not sure what the correct way to validate the ID is when it's given from path.
Eg:
/function/
variable
function($var) {
//validate $var with rules in form_validation
}
I started without thinking to write $this->form_validation->set_rules(,
then I realised I have nothing to put for the name because of where it came from.