PPS.
You donĀ“t need to refer to the current credits to increment the value.

$new_credits = "credits + $credits"; // a string

Would do the same thing, and in this way if you find you get double
increments you can be 100% certain that the reason is because the sql
is being executed twice.


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

Reply via email to