Skip to content

Commit

Permalink
ORM quick introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
boxyman authored and bluehawk committed Oct 19, 2010
1 parent 58ed3ff commit 0162ce0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guide/orm/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ To use ORM you can create a file in `application/classes/controller/member.php`

## Complete example

### SQL schema:
### SQL schema

CREATE TABLE IF NOT EXISTS `members` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
Expand All @@ -51,7 +51,7 @@ To use ORM you can create a file in `application/classes/controller/member.php`
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;

### Model:
### Model

<?php defined('SYSPATH') or die('No direct access allowed.');

Expand Down

0 comments on commit 0162ce0

Please sign in to comment.