php - View rendering as blank in Zend Framework action -


<?php  class signupcontroller extends zend_controller_action { function indexaction() {      if ($this->_request->ispost())     {         echo "your email address is: " . $this->_request->getpost('email');     }      $this->render("signup");      }  } 

this controller

this view

<html> <body> <form action="/signup" method="post">      email: <input name="email" type="text" />     <input name="btnsubmit" value="click me" type="submit" />  </form> </body> </html> 

when tried run view getting result blank/signup why happens please rectify error, , tell me reason error

if using signup view replace render code :-

$this->_helper->viewrenderer('signup'); 

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -