Try this:
if(!empty($this->data)) {
foreach ($this->data["Tiposviajesusuario"] as
$tipo) {
$t["usuario_id"] = $u["id"];
$t["tipo_id"] = $tipo;
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