assoc_to_uri($array)
Parameters: |
|
---|---|
Returns: |
URI string |
Return type: |
string |
Takes an associative array as input and generates a URI string from it. The array keys will be included in the string. Example:
$array = array('product' => 'shoes', 'size' => 'large', 'color' => 'red'); $str = $this->uri->assoc_to_uri($array); // Produces: product/shoes/size/large/color/red
Please login to continue.