Welcome Guest, Not a member yet? Register   Sign In
Codeigniter + Doctrine = Message: Undefined property: CI_Loader::$table
#1

[eluser]Unknown[/eluser]
Hi i am pretty new to both Codeigniter and Doctrine,

ever since i added Doctrine i cannot get the Html Table class to work i haven't been able to find any information on the the problem anywhere.

Code:
$this->load->library('table');

$data = array(
             array('Name', 'Color', 'Size'),
             array('Fred', 'Blue', 'Small'),
             array('Mary', 'Red', 'Large'),
             array('John', 'Green', 'Medium')    
             );

echo $this->table->generate($data);

results in this error message

A PHP Error was encountered

Severity: Notice

Message: Undefined property: CI_Loader::$table

Filename: views/welcome_message.php

Line Number: 58


Fatal error: Call to a member function generate() on a non-object in C:\xampp\htdocs\CHIP\system\application\views\welcome_message.php on line 58

thanks for any help you can provide


Messages In This Thread
Codeigniter + Doctrine = Message: Undefined property: CI_Loader::$table - by El Forum - 04-16-2010, 11:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB