I'm doing this in my model....
protected $_rules = array(
'id' => array(
'not_empty' => NULL,
'numeric' => array(TRUE)
)
....
Am I doing it right for the numeric qualifier?
Thanks.
I'm doing this in my model....
protected $_rules = array(
'id' => array(
'not_empty' => NULL,
'numeric' => array(TRUE)
)
....
Am I doing it right for the numeric qualifier?
Thanks.