[eluser]Tamilmani[/eluser]
Hi All,
I written one test controller in that, i have one function like
Code:
function testing($a=null,$b=null,$c=null,$d=null,$e=null)
{
echo "A".$this->uri->segment(3);
echo "<br>";
echo "B".$this->uri->segment(4);
echo "<br>";
echo "C".$this->uri->segment(5);
echo "<br>";
echo "D".$this->uri->segment(6);
echo "<br>";
echo "E".$this->uri->segment(7);
echo "<br>";
echo $this->uri->uri_string();
}
my sample URL is
Code:
http://localhost/codeigniter/index.php/test/testing/1//2//3
my output is
Code:
A1
B2
C3
D
E
/test/testing/1/2/3
Question is
1. I am not given any value to 2nd & 4th input parameter.
Is this possible to get the output like
Please any one give me one suggestion to me?