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']; ?> </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