Try this:
if(!empty($this->data)) {
foreach ($this->data["Tiposviajesusuario"] as
$tipo) {
$t["usuario_id"] = $u["id"];
$t["tipo_id"] = $tipo;
Hello i'm using the las version of cakephp1.2
i have a problem with Model->save
this is my source
---
if(!empty($this->data)) {
foreach ($this->data["Tiposviajesusuario"] as $tipo) {
$t["Tiposviajesusuario"]["usuario
Can you do a quick example Nate? I am not following. This is
something I would have done in coding as well.
On Oct 8, 10:46 am, "nate" <[EMAIL PROTECTED]> wrote:
> Also, why are you passing parameters to RequestHandler->isPost? All it
> does is return true or false if the request method of the
Also, why are you passing parameters to RequestHandler->isPost? All it
does is return true or false if the request method of the current
request is POST.
If you're looking to require a post request for a given set of actions,
you need the Security component. You can do the following in your
con
Before using the save field you need to tell Cake what record to save
it to. You have to do this
$this->User->id = $uid;
before
$this->User->saveField.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" g
Hi, I'm trying to make a User Profile Managment system.
So there's a "Update Profile" page where the logged in user can change
the settings.
The password fields remain empty and if the user wants to change the
password, he/she puts in new passwords in respective input boxes.
When the form is sub