The out put that you got is right. When you are using set it is setting the value not appending. In your code you are not printing the value after it has been set each time. By the time the code gets to the call to echo the value of message your loop has already completed and it print outs the last value that you set message to.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
