View Single Post
  #1 (permalink)  
Old 06-15-2008, 07:31 AM
dudu dudu is offline
Junior Member
 
Join Date: Jun 2008
Posts: 4
Default how can i get the value?

the views:
PHP Code:
<?php foreach($this->data as $data) : ?> 
              <tr>
                <td><?php echo $this->escape($data->title);?></td>
                <td><?php echo $this->escape($data->content);?></td>
                <td><?php echo $this->escape($data->post_time);?></td>
                <td><?php echo $this->escape($data->publish);?></td>
                <td> 
<a href="/blog/admin/article/modify/<?php echo $this->escape($data->content_id);?>/">modify</a>                
<a href="/blog/admin/article/del/<?php echo $this->escape($data->content_id);?>/">del</a>
                </td>
              </tr>
        <?php endforeach; ?>
how can i get the value in modifyAction()
PHP Code:
<?php
class Admin_ArticleController extends Blog_Controller_Action  {
        ...
        function 
modifyAction(){
              
//get the value
        
}
}
?>

thanks
--dudu

Last edited by dudu : 06-15-2008 at 07:37 AM.
Reply With Quote