I am almost tempted to say:

"will u please make it short and approachable to ur point,
becouse no one is having to read a long theses of ur query on the
work
so please make it shor and come in pints, so it would be fine to give
u answer"

...but I won't.

What do you see when you do:

<?php die(debug($city)); ?>

...immediately before this code?

And what error are you getting - is it just a blank td?

Jeremy Burns
Class Outfit

[email protected]
(t) +44 (0) 208 123 3822
(m) +44 (0) 7973 481949
Skype: jeremy_burns
http://www.classoutfit.com

On 4 Feb 2011, at 05:37, andy_the ultimate baker wrote:

> hi,
> good morning,
> 
> since i morning i am working on one index view where i want to display
> the country. ithe the view i m getting sate and city with its
> respective code properly, but the country is not displaying
> here is my code
> 
> <?php echo $this->Html->link($city['Country']['title'],
> array('controller' => 'countries', 'action' => 'view', $city['Country']
> ['id'])); ?>
>               </td>
>               <td  class="<?php echo $class; ?>" align = "center">
>                       <?php echo $this->Html->link($city['State']['title'],
> array('controller' => 'states', 'action' => 'view', $city['State']
> ['id'])); ?>
>               </td>
>               <td  class="<?php echo $class; ?>" align = "center"><?php echo
> $city['City']['title']; ?>&nbsp;</td>
>               <td class="<?php echo $class; ?>" id="city_td_<?php echo
> $city['City']['id']; ?>" class="actions" align = "center">
>                 <?php echo 
> $this->element('admin/status_links',array('status'=>
> $city['City']['active'],'id'=>$city['City']
> ['id'],'class'=>'city_status'))?></td>
> 
> please someone give me solution on it
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
> 
> 
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to