Hi, rpetrain1
yes there is also a synchronization problem between the controller and the view. I know that $this->set doesn't do appending, but appending is time consuming in real life. What I aim at is 'not appending': instead of appending string data, I want to send each datum to view so that the user can see the output without enduring the whole appending time. That is my point. On 1 4 , 1 24 , "rpetrain" <[EMAIL PROTECTED]> wrote:
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 -~----------~----~----~----~------~----~------~--~---
