I have placed this class file called \'My_Form_validation.php\' into \'application/core\' and I have also tried placing it in \'application/libraries\'.
In my contro
You have to add $rules on your __construct method and also pass this to parent constructor
eg:
function __construct($rules = array()) { parent::__construct($rules); }
Look at Form_validation and provide same variables.