Hey, i have a problem i cant't solve

let's say my models name is Spage. Now my database table isn't called
Spage, it's called "newsletter". I've got a function called
"newsletter" in my SpagesController where i said
"$this->Spage->setSource('newsletter');". Now i want to save my data to
the database by using "$this->Spage->save($this->data);". But that
wont't work. He's just saving the created and modfied row, not the data
that should be put in "name" and "email". But in my view the
inputfields got the name "Spage/name" and "Spage/email".

Why wont that work?

Thanks!


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to