davy_yg 2 Posting Whiz

The following code:

<a href="<?php echo base_url('cpages/viewpicture/'.$this->uri->segment(3)); ?>" class="delete">BACK</a>

Shows:

BACK uri->segment(3);

I am trying to erase uri->segment(3);

part but do not know how to?