What does the code look like?

- "The cold winds are rising"
On Oct 12, 2012 6:31 AM, "Webmaster Cosinus" <[email protected]> wrote:

> I've a table called "recharges"  and onother called "montant_recharges"
>
> In the recharge table I've a filed called montant_recharge_id which link
> the two tables.
>
> When I delete a row in "montant_recharges" the associated row in recharges
> are deleted, i don't want rows in recharge to be deleted neither in
> montant_recharges since they are linked
>
>
> On Fri, Oct 12, 2012 at 1:02 PM, Tilen Majerle <[email protected]>wrote:
>
>> i don't understand what u want..
>> --
>> Lep pozdrav, Tilen Majerle
>> http://majerle.eu
>>
>>
>>
>> 2012/10/12 cosinusweb <[email protected]>
>>
>>> Hello,
>>>
>>> I' ve a table "recharge" which contain an id field from an other table.
>>>
>>> When I try to delete the linked id from mysql it does not work which is
>>> normal because this id is already in use bu if i delete the liked id with
>>> cake php the all row from "recharges" is deleted
>>>
>>> It s like cake does not take into acount my constraint
>>>
>>> Why that ?
>>>
>>> --
>>> Like Us on FaceBook https://www.facebook.com/CakePHP
>>> Find us on Twitter http://twitter.com/CakePHP
>>>
>>> ---
>>> 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].
>>> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>>>
>>>
>>>
>>
>>  --
>> Like Us on FaceBook https://www.facebook.com/CakePHP
>> Find us on Twitter http://twitter.com/CakePHP
>>
>> ---
>> 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].
>> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>>
>>
>>
>
>  --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> 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].
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
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].
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to