Hi guys,
Again getting a problem as i am new to cake,
I have a table having 10 fields, now i want to update three of them
but cake did not allow me to do so

table structure

campaigns
----------------
id
name
users
url
type
category
logo
|
and so on


now i just want to update users and url my form look like this

<?php echo $form-
>create('',array('controller'=>'campaigns','action'=>'update'))
echo $form->input('Campaign.users');
echo $form->input('Campaign.url');
echo $form->submit('Save');

?>

when i  debug($this->data) it gives correct values

but the data is never been saved with the following code

$this->Campaign->save($this->data) ;

please help

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