[eluser]The_Stig[/eluser]
How you doing? Im currently in university and have a php course, so i have been playing around with pretty much anything i can to help me get a better understanding. First off what a great product i love how simple it is and i can see why people would use this in the real world. So im now learning about the MVC procedure.
I started playing with the excellent BambooInvoice based on the codeigniter framework and have ran into a problem. I wanted the invoice to have something like Client Name the bit in blue and then under it department name i.e. Client would be Arnold Clark--> Department-> Ford, or something. I have been able to make the new form up so it takes in the new information and stores it in the database.
at
Code:
<h3><?php echo $row->name;?></h3>
i added
Code:
<?php echo $row->department;?>
underneath.
This results in the following
Quote:A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$department
Filename: invoices/view.php
Line Number: 145
any help would be greatly appriciated.