I need to check if the user_id
that was inserted exists. I was going to use callbacks in Codeigniter form validation but they require the function that does the validation be in the controller. I'm using this on many pages across multiple controllers so I thought I would do it in a model. Codeigniter doesnt support this though.
http://codeigniter.com/forums/viewthread/205469/
I found this but it seems like a lot of code per validation. I'm using this alot so I dont want that big glob of code every time.
How can I run a form validation from a model with as little code as possible?