Hi,
Suppose this is image field
Form->input('MyModel.image',array('type'=>'file')); ?>
In edit action just check,if you upload any photo or not
if(empty($this->data['MyModel']['image']['name']))
{
unset($this->data['MyModel']['image']);
$this->data['MyModel']['image']='old_field_value(old ima
hello
i have a strange problem when i save the form in one of my actions..
the file input try to save a array in ther the db collumm
so, the debbugee display this error
SQL Error: 1054: Unknown column 'Array' in 'field list'
this does not happen in the "add action" because there I use the clas