Use a view helper of render() as follows:
<?=$this->render('the other.phtml')?>
All view variables available in the current .phtml script will also be available in the other.phtml .
If you want to display a different view of the script with specific view variables, use partial instead:
<?=$this->partial('the other.phtml', array( 'var'=>'value', 'var2'=>'value2', ... ))?>
source share