06.28
php
saved
XantoM
Note
XantoM did not leave a note
XantoM did not leave a note
- <?php
- // User Model
- class User extends AppModel
- {
- public $name = 'User';
- );
- }
- // Register function within User Controller
- function register()
- {
- {
- if ($this->User->save($this->data))
- {
- $this->Session->setFlash('Your registration information was accepted.');
- }
- }
- }
- // Register view
- <div>
- </div>
- ?>
Parsed in 0.091 seconds, using GeSHi 1.0.7.14