[eluser]Unknown[/eluser]
I want to redirect to the same page i go to a controller and then go to my last page again...
<?php foreach ($cart as $item): ?>
<tr>
<td><?php echo $item['name']; ?></td>
<td>
<?php if ($this->cart->has_options($item['rowid'])) {
foreach ($this->cart->product_options($item['rowid']) as $option => $value) {
echo $option . ": <em>" . $value . "</em>";
}
} ?>
</td>
<td>$<?php echo $item['subtotal']; ?></td>
<td class="remove">
<?php $uri = $this->uri->segment(1).'/'.$this->uri->segment(2).'/'.$this->uri->segment(3)?>
<a href="<?=base_url()?>shop/remove/'<?php $item['rowid']?>">
<img width="12" alt="" class="thumb" src="http://localhost/supermayorista/assets/graphics/DeleteRed.png">
</a>
</td>
</tr>
<?php endforeach; ?>