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