Ci: Using URL segment to create a refresh


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $path = 'memberships/details/'.$this->uri->segment(3, 0); // Gets id and tacks onto URL
  2. redirect($path);

Report this snippet


Comments


You need to login to view comments.