[eluser]Unknown[/eluser]
Hi everybody!
Im workin in a CMS, i have users and this users must login to make something, when they login the redirect from
/login
to
/administrator/wellcome
In this area, it show a list of the sites that this user can edit, for each site it creates a link to edit the selected site, and this redirect to this location:
/administrator/edit_site/name_site
In this page u can upload and image, and below it you find another list with the items created for the site, for each item it creates a link to edit the item, and here is where i cant make it work
Every link is created this way (on the view):
/administrador/edit_site/edit_item/item_name
And i need the link must go here:
/administrador/edit_item/item_name
This is the code to generate the link in the view:
Code:
foreach ($items->result() as $row):?>
<a href="<?php echo ">item_name; ?>"><?php echo $row->item_name; ?></a></p>
<?php endforeach; ?>
Something is going wrong with the code labels, in the href must apper: echo"edit_item/".$row->item_name
Thanks for your help!