Hi!

I'm writing a newsletters module, and I want to update the rendered
view while i'm in the for loop ...

#CODE

for($i = 0; $i < count($mails); $i++) {
//Here comes the send function ...

$mails[$i]['error'] = false; //If everything is ok set error to false;
$this->set('data',$mails);

}


$this->render('admin_sendmessage');

Is there a way to update the view with flush()?


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

Reply via email to