I've been banging my head against a wall trying to get $this->Model-
>saveAll() working.  I'm hoping someone has the answers.

I've tried formating the data in the following ways:

Array
(
    [Customer] => Array
        (
            [site_url] => Array
                (
                    [0] => http://www.barclays.co.uk/mortgages/
                    [1] => 
http://www.fool.co.uk/mortgages/compare-mortgages.aspx
                    [2] => http://www.tdcanadatrust.com/mortgages/index.jsp
                )
        )
)

Array
(
    [Customer] => Array
        (
            [0] => Array
                (
                    [site_url] => http://www.barclays.co.uk/mortgages/
                )
        [1] => Array
                (
                    [site_url] => 
http://www.fool.co.uk/mortgages/compare-mortgages.aspx
                )
        [2] => Array
                (
                    [site_url] => 
http://www.tdcanadatrust.com/mortgages/index.jsp
                )
        )
)


Neithewr of these array structures works.  Am I missing something?

The relevant part of the controller is here:

$this->Customer->create();
$this->Customer->saveAll($this->data);
--~--~---------~--~----~------------~-------~--~----~
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