function index()
    {
                #Store Config Fields
                $store_config_fields = array("configuration_title",
"configuration_key", "configuration_value",
"configuration_description");
        #Store Name
                $this->set('storename',
$this->Configuration->read($store_config_fields, "173"));
                #Store owner
                $this->set('storeowner',
$this->Configuration->read($store_config_fields, "174"));
                #Email address
                $this->set('storeemail',
$this->Configuration->read($store_config_fields, "175"));
                #Email From
                $this->set('storeemailfrom',
$this->Configuration->read($store_config_fields, "176"));
                #Country
                $this->set('storecountry',
$this->Configuration->read($store_config_fields, "177"));
                #Zone
                $this->set('storezone',
$this->Configuration->read($store_config_fields, "178"));
                #Store address and phone number
                $this->set('storeaddressphone',
$this->Configuration->read($store_config_fields, "185"));

                $this->Configuration->save($this->storename);


    }


I have a page that will populate correctly with data from fields within
a table- but i cannot seem to update? am i using this save() correclty?


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