/*
MY problem is that i fetch all the data to the form and i put all the fields
to appropriate textbox and so on....when i submit the form the value passes
properly but it is not updated in the database table.
------------
Array
(
    [UserProfiles] => Array
        (
            [userid] => 8
            [firstname] => eee
            [lastname] => eeee
            [password] => 
            [add1] => reeereeereee
            [add2] => reeereeereeereee
            [city] => ree
            [state] => ree
            [country] => ressss
            [zip] => 323333
            [phone] => 33333333
            [email] => ddd...@ifuturz.com
        )
)

------------ 
*/
///////////////////////VIEW EDIT PAGE ////////////
http://old.nabble.com/file/p27026819/edit_details.ctp edit_details.ctp 
---------------------------------
///////////  models ///////////////

class UserProfile extends AppModel
{
    var $name='UserProfile';
    var $primaryKey = 'userid'; 
}

class Admin extends AppModel
{
    var $name='UserProfile';
var $primaryKey = 'userid'; 

}
//////////////////////////////////// 
http://old.nabble.com/file/p27026819/admin_controller.php
admin_controller.php 
-- 
View this message in context: 
http://old.nabble.com/save-not-updating-values-in-Table-tp27026819p27026819.html
Sent from the CakePHP mailing list archive at Nabble.com.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to