journal
Complete working example of table relationships
August 01, 2006
Due to popular demand (well one person) I have added a complete working example of the table relationships framework, ready to be dropped into a CI applicatons folder. The files can be downloaded from the following link;
Files for table relationships
The zip file contains the following;
- Controllers folder containing the "table_test" controller to test the library with some actions like making a form and saving some data.
- Libraries folder containing the core code for this example
- Init folder for initialising the library
- Views folder containing a small view to show the relevant data
- A sql file of a test DB
- Two text files of sample data array outputs which may prove useful (or not).
So just drop these into a CI applications folder and configure the database connection and site preferences and give it a run.