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

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -