Do a var_dump() of $this->data before calling $this->Contact->create() and
send us what you get. Also what version of CakePHP are you using? Next time
you send the group an issue like this try to give us more information, just
by looking at an error message it's very difficult to know what's happening.

-MI

---------------------------------------------------------------------------

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-----Mensaje original-----
De: [email protected] [mailto:[EMAIL PROTECTED] En nombre
de Ámon Tamás
Enviado el: Martes, 06 de Marzo de 2007 07:01 a.m.
Para: [email protected]
Asunto: Re: email form

If i use this I get:

Notice: Undefined offset: 0 in 
/home/sajt/Projectek/mediabazar2/cake/libs/model/model.php on line 885

Warning: array_key_exists() [function.array-key-exists]: The second 
argument should be either an array or an object in 
/home/sajt/Projectek/mediabazar2/cake/libs/model/model.php on line 885

Is this normal? I think in create there is no check for it.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to