Cakephp using two models
in my cakephp controller
 var $uses=array('Form','Field');
i m using two models(Form,Field)

While using 
$this->set('retrived',$this->Field->find("all",array('conditions'=>array('Field.formname'=>$formname,))));
in the controller
and in the view
               <?php foreach ($retrived as $r): ?>
                         <?php echo $r['Field']['fieldname']; ?><br>
                      
               <?php endforeach; ?>
i m not getting the answer for it

Actually my table fields wil be like 
       fieldname  	
	formname 	
	type 	
	value 	
a columns
Cakephp using two models
===

in my cakephp controller
 var $uses=array('Form','Field');
i m using two models(Form,Field)

While using 
$this->set('retrived',$this->Field->find("all",array('conditions'=>array('Field.formname'=>$formname,))));
in the controller
and in the view
               <?php foreach ($retrived as $r): ?>
                         <?php echo $r['Field']['fieldname']; ?><br>
                      
               <?php endforeach; ?>
i m not getting the answer for it

Actually my table fields wil be like 
       fieldname  	
	formname 	
	type 	
	value 	
a columns