[eluser]4ever[/eluser]
Help please
signup_form.php
libraries:
application\libraries\Form_create.php
application\libraries\MY_Form_validation.php
Code:
<div id="login_form">
<h2>Sign up</h2>
<fieldset><legend>Personal information</legend>
<?php
$this->load->library("MY_Form_validation"); // my library
$this->load->helper("MY_form"); // my helper
$this->load->library("form_create"); // my create
/*print_r($this->_ci_classes);
print_r($this->_ci_loaded_files);
print_r($this->_ci_helpers);
print_r($this->session->CI->my_form_validation);
*/
print_r($this->form_create);
print_r($this->my_form_validation);
die();
Returns error
A PHP Error was encountered
Severity: Notice
Message: Undefined property: CI_Loader::$form_create
Filename: forms/signup_form.php
Line Number: 17
A PHP Error was encountered
Severity: Notice
Message: Undefined property: CI_Loader::$my_form_validation
Filename: forms/signup_form.php
Line Number: 18
Same as
print_r($this->Form_create);
print_r($this->MY_Form_validation);
I can't find $this->CI is it normal?
The 3 lines
print_r($this->_ci_classes);
print_r($this->_ci_loaded_files);
print_r($this->_ci_helpers);
showed that the are loaded...