Hi, Can I actually echo or print a variable in Controller? I noticed that I need to put it first in the View in order to print the variable. This is for testing purposes only such that I know what data/value is the variable contains.
below is the code that is not working class PollController extends \Phalcon\Mvc\Controller {
public function indexAction()
{
echo "HELLO";
}