Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Dylan Lopez
Added: Mar 6, 2018 8:47 AM
Modified: Mar 6, 2018 8:48 AM
Views: 11
  1. $product_id = $this->uri->segment(3, 0);  // 0 is the default value