controller message to view

I’m confused, how can i trow a message from a controller to a view.


if ($inic == $dtLoop) {



‘$(".info").animate({opacity: 1.0}, 3000).fadeIn(“slow”);’,





or just echo sometext to the create view.


you should stick with the MVC approach and pass the info to the view and then render it in the view


in the view file create.php

print $infoToDisplay;

this should get you started

can’t get the variable, i’m new to mvc and yii

i think i’ll stick with flash messages.