HABTM View Question

2010-01-22 Thread bradmaxs
Having trouble getting all of my tables info in my view. I am trying to get both portfoios and powerdbies table info in there. Right now I can sucessfully get my portfolio info in there like this: portfolios_controller: function currentprojects() { $Portfolio = $this-paginate('Portfolio',

Re: HABTM View Question

2010-01-22 Thread Amit Rawat
hello use this ?php foreach($Portfolio as $Portfolio): ? div class=boxgrid captionfull img src=../img/?php echo $Portfolio['Portfolio']['img']; ? width=190 height=152 / div class=cover boxcaption h2a href=http://www.?php echo $Portfolio['Portfolio']['url']; ? target=_blank?php echo