segment_array()
Returns: | URI segments array |
---|---|
Return type: | array |
Returns an array containing the URI segments. For example:
$segs = $this->uri->segment_array(); foreach ($segs as $segment) { echo $segment; echo '<br />'; }
segment_array()
Returns: | URI segments array |
---|---|
Return type: | array |
Returns an array containing the URI segments. For example:
$segs = $this->uri->segment_array(); foreach ($segs as $segment) { echo $segment; echo '<br />'; }
Please login to continue.