I want to edit user data through index view of other model how to send
id of user
i have only username in session variable

<h2>Welcome <?php echo $id=$session->read('User')?></h2>
 <div class="entries">
 <?php
echo $html->css('default');
?>
<table cellpadding="0" cellspacing="0">
<?echo $html->tableHeaders(
    array(

      'Section',
      'Submenu',
      'Listitem',
          'Detail',
          'Actions'
    )
);?>
<?php
$i = 0;
 foreach ($entries as $entry):
   $class = null;
        if ($i++ % 2 == 0) {
             $class ='class="altrow"';
        }
  ?>
<tr<?php echo $class;?>>
        <td><?php echo $entry['Section']['section']; ?></td>
        <td><?php echo $entry['Submenu']['submenu']; ?></td>
        <td><?php echo $entry['Entry']['Listitem']; ?></td>
        <td><?php echo $entry['Entry']['Detail']; ?></td>
        <td class="actions">
                <?php echo $html->link('View','/entries/view/' . $entry['Entry']
['id'])?>
                <?php echo $html->link('Edit','/entries/edit/' . $entry['Entry']
['id'])?>
                <?php echo $html->link('Delete','/entries/delete/' . 
$entry['Entry']
['id'], null, 'Are you sure you want to delete record' )?>
        </td>
</tr>
<?php endforeach; ?>
</table>
<ul class="actions">
<li><?php echo $html->link('New Content entry', '/entries/add'); ?></
li>
<li><?php echo $html->link('Logout','/users/logout');?></li>

<li><?php echo $html->link('Manage Account','/users/edit'.$form->value
('User'.$id));?></li>
</ul>
</div>
please consider above line Manage account how can i do that

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to