PS: i used this line to delete:
$this->Foto->del($id)

On 11 Dic, 17:30, AD7six <[EMAIL PROTECTED]> wrote:
> On Dec 11, 5:12 pm, Paolo <[EMAIL PROTECTED]> wrote:
>
> > HI!
>
> > I'm trying to delete a row from a model, using
> > Modelname->del($id)
>
> > But I receive the error
>
> > SQL Error: 1052: Column 'id' in where clause is ambiguous
>
> > Why is this happening? How can i solve itP?
>
> > Thanks
>
> How about showing the sql which is generating that message.
>
> AD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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