on link you posted seems that you are using codeigniter :D
--
Lep pozdrav, Tilen Majerle
http://majerle.eu



2011/5/1 taq <[email protected]>

> My warning and eror
> http://uppic.net/full/e0ade5993b7b514502f7a02e74c0c57e
>
> controller code
> Class MembersController extends AppController{
>    var $name = array('Members','Myprofiles');
>    var $helpers = array('Form','Session');
>
>    function index(){
>
>    }
>    function register(){
>        if(!empty ($this->data)){
>            $this->Member->create();
>           if($this->Member->save(($this->data['Member']['username']),
> ($this->data['Member']['password']))
>          && $this->Myprofile->save(($this->data['Myprofile']['name']),
> ($this->data['MyProfile']['address'])
>                  ,($this->data['Myprofile']['phonenumber'])))
>             {
>                        $this->redirect('index');
>             }
>        }
>        else {
>
>                 $this->Session->setFlash('failed');
>        }
>
>        }
>    }
>
>
> thank for reply
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to