From e334c472fb4be44feec3a73402fc4a2b062cbfc0 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 21 Oct 2006 19:44:22 +0000 Subject: --- user_guide/libraries/uri.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'user_guide/libraries/uri.html') diff --git a/user_guide/libraries/uri.html b/user_guide/libraries/uri.html index 9218c0d7f..367e1b798 100644 --- a/user_guide/libraries/uri.html +++ b/user_guide/libraries/uri.html @@ -12,7 +12,7 @@ @@ -70,7 +70,7 @@ also retrieve information about the re-routed segments.

$this->uri->segment(n)

-

Permits you to retrieve a specific segment. Where n is the segment number you wish to retrieve. +

Permits you to retrieve a specific segment. Where n is the segment number you wish to retrieve. Segments are numbered from left to right. For example, if your full URL is this:

http://www.your-site.com/index.php/news/local/metro/crime_is_up @@ -84,7 +84,7 @@ Segments are numbered from left to right. For example, if your full URL is this:
  • crime_is_up
  • -

    By default the function returns FALSE (boolean) if the segment does not exist. There is an optional second parameter that +

    By default the function returns FALSE (boolean) if the segment does not exist. There is an optional second parameter that permits you to set your own default value if the segment is missing. For example, this would tell the function to return the number zero in the event of failure:

    -- cgit v1.2.3-24-g4f1b