[eluser]jedd[/eluser]
[quote author="Monisha" date="1248890964"] ...but getting error of
Message: Undefined property: excelreader::$Excel_reader
I hope u get my point .. and guide me...!!
thanks in advance.[/quote]
Monisha, you seem to be generating a bunch of threads on the same topic - I'd suggest this doesn't help you at all (it makes it hard for other people to try to help you with one problem when the details are spread all over the place).
I notice that your code does not follow the requirement of upper-case first letter of your controller's name. This is not the problem, however, but does suggest attention to detail is perhaps not your forte.
What did your excelreader library manual / forums / etc suggest this error implies?
The two lines that you call your external library - excel_reader - appear to be this:
Code:
$this->excel_reader->read('./uploads/testfile.xls');
$worksheet = $this->Excel_reader->worksheets[0];
Allow me to disabuse you of the notion that
excel_reader ==
Excel_reader